diff --git a/CMakeLists.txt b/CMakeLists.txt index 6f473679..99ccd828 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -161,8 +161,8 @@ list( TRANSFORM WPS_DEFINITIONS_LIST REPLACE "^-D(.*)" "\\1" ) add_compile_definitions( ${WPS_DEFINITIONS_LIST} ${WPS_UNDEFINITIONS_LIST} - $<$:USE_JPEG2000> - $<$:USE_PNG> + USE_JPEG2000 + USE_PNG ) # Whole project flags add_compile_options(