Make chromaprint optional
This commit is contained in:
@@ -26,7 +26,7 @@ endif(STRAWBERRY_VERSION_PRERELEASE)
|
||||
if(INCLUDE_GIT_REVISION AND EXISTS "${CMAKE_SOURCE_DIR}/.git")
|
||||
|
||||
find_program(GIT_EXECUTABLE git)
|
||||
if(GIT_EXECUTABLE-NOTFOUND)
|
||||
if(NOT GIT_EXECUTABLE OR GIT_EXECUTABLE-NOTFOUND)
|
||||
message(FATAL_ERROR "Missing GIT executable." )
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user