diff --git a/rtgui/CMakeLists.txt b/rtgui/CMakeLists.txt index 923500777..05afd9af5 100644 --- a/rtgui/CMakeLists.txt +++ b/rtgui/CMakeLists.txt @@ -226,7 +226,7 @@ add_dependencies(rth-cli UpdateInfo) # Set executables targets properties, i.e. output filename and compile flags # for "Debug" builds, open a console in all cases for Windows version if((WIN32) AND NOT(UPPER_CMAKE_BUILD_TYPE STREQUAL "DEBUG")) -set_target_properties(rth PROPERTIES LINK_FLAGS "-mwindows") + set_target_properties(rth PROPERTIES LINK_FLAGS "-mwindows") endif() set_target_properties(rth PROPERTIES COMPILE_FLAGS "${CMAKE_CXX_FLAGS}" OUTPUT_NAME rawtherapee) set_target_properties(rth-cli PROPERTIES COMPILE_FLAGS "${CMAKE_CXX_FLAGS}" OUTPUT_NAME rawtherapee-cli)