--- src/CMakeLists.txt.orig 2019-11-10 21:19:31 UTC +++ src/CMakeLists.txt @@ -5,7 +5,7 @@ ELSEIF(APPLE) SET(GMIC_FLAGS "-march=nocona -mno-sse3 -mtune=generic -Dgmic_build -Dcimg_use_vt100 -Dcimg_use_fftw3 -Dcimg_use_tiff -Dcimg_use_zlib -Dcimg_display=0 -Dcimg_use_fftw3_singlethread -fpermissive") #SET(GMIC_FLAGS "-Wno-error=c++11-narrowing -Dgmic_build -Dcimg_use_vt100 -Dcimg_use_fftw3 -Dcimg_use_tiff -Dcimg_use_zlib -Dcimg_display=0 -Dcimg_use_fftw3_singlethread -fpermissive") ELSE(MINGW) - SET(GMIC_FLAGS "-std=gnu++14 -march=nocona -mno-sse3 -mtune=generic -Wno-error=narrowing -Dgmic_build -Dcimg_use_vt100 -Dgmic_is_parallel -Dcimg_use_fftw3 -Dcimg_use_tiff -Dcimg_use_zlib -Dcimg_display=0 -fno-ipa-sra -fpermissive") + SET(GMIC_FLAGS "-std=gnu++14 -Wno-error=narrowing -Dgmic_build -Dcimg_use_vt100 -Dgmic_is_parallel -Dcimg_use_fftw3 -Dcimg_use_tiff -Dcimg_use_zlib -Dcimg_display=0 -fpermissive") ENDIF(MINGW) set(COMPILE_FLAGS " ${GMIC_FLAGS} -I${CMAKE_SOURCE_DIR}/src/dt -DLIBRAW_NODLL -DINSTALL_PREFIX='\"${INSTALL_PREFIX}\"' ") @@ -542,7 +542,7 @@ ENDIF(APPLE) # # photoflow executable # -add_executable(photoflow main.cc ${RESOURCE_OBJECT}) +add_executable(photoflow main.cc version.cc ${RESOURCE_OBJECT}) # https://github.com/aferrero2707/PhotoFlow/issues/190 IF(APPLE) set_target_properties(photoflow PROPERTIES LINK_FLAGS " -framework ApplicationServices ") ENDIF(APPLE)