diff --git a/BioTracker/CMakeLists.txt b/BioTracker/CMakeLists.txt index 82f887129057561e956022ae01fdd289a8bdd518..5a673f736926df280d38496e95e87b8869c89f1a 100644 --- a/BioTracker/CMakeLists.txt +++ b/BioTracker/CMakeLists.txt @@ -46,6 +46,12 @@ ENDIF() #endforeach(flag_var) #endif(MSVC) +set(HMNVLibDir "Not Found" CACHE FILEPATH "") +IF("${HMNVLibDir}" MATCHES "Not Found") +ELSE() + add_definitions(-DWITH_CUDA) +ENDif() + IF("${CMAKE_SYSTEM_NAME}" MATCHES "Linux") find_package(Boost REQUIRED system filesystem chrono thread timer) ELSE() diff --git a/BioTracker/Plugin/BackgroundSubtraction/CMakeLists.txt b/BioTracker/Plugin/BackgroundSubtraction/CMakeLists.txt index bd6f830480c9608dd0b07b30891fdd9cb163b383..bad8c108f89f108a04b8680e5d0db13e4b4dfe47 100644 --- a/BioTracker/Plugin/BackgroundSubtraction/CMakeLists.txt +++ b/BioTracker/Plugin/BackgroundSubtraction/CMakeLists.txt @@ -18,11 +18,6 @@ set(INCLUDE_DIRS ${Qt5Opengl_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR} ) - - get_cmake_property(_variableNames VARIABLES) -foreach (_variableName ${_variableNames}) - message(STATUS "${_variableName}=${${_variableName}}") -endforeach() set(QTLIBS Qt5::Core