diff --git a/CMakeLists.txt b/CMakeLists.txt index 17b0fdf9..ffd118cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -290,6 +290,7 @@ if(ENABLE_CURL) endif() endif() +add_definitions(-Dgmic_core) add_definitions(-Dgmic_community) add_definitions(-Dcimg_use_abort) add_definitions(-Dgmic_is_parallel) @@ -378,7 +379,6 @@ else() endif() if (NOT ENABLE_SYSTEM_GMIC) - add_definitions(-Dgmic_core) include_directories(${GMIC_PATH}) endif (NOT ENABLE_SYSTEM_GMIC) include_directories(${CMAKE_SOURCE_DIR}/src)