--- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -376,7 +376,7 @@ SET(HAS_FLUIDSYNTH 1) LINK_DIRECTORIES(${FLUIDSYNTH_LIBRARY_DIRS}) SET_SOURCE_FILES_PROPERTIES(src/codec_fluidsynth.cpp PROPERTIES - COMPILE_FLAGS "${FLUIDSYNTH_CFLAGS}") + COMPILE_OPTIONS "${FLUIDSYNTH_CFLAGS}") ENDIF(NOT FLUIDSYNTH_FOUND) IF(HAS_FLUIDSYNTH) SET(ALURE_OBJS ${ALURE_OBJS} src/codec_fluidsynth.cpp)