Let last commit also work on non Windows systems
This commit is contained in:
parent
f05b6283e9
commit
a48572d577
@ -224,7 +224,10 @@ add_dependencies(rth UpdateInfo)
|
|||||||
add_dependencies(rth-cli UpdateInfo)
|
add_dependencies(rth-cli UpdateInfo)
|
||||||
|
|
||||||
# Set executables targets properties, i.e. output filename and compile flags
|
# Set executables targets properties, i.e. output filename and compile flags
|
||||||
set_target_properties(rth PROPERTIES COMPILE_FLAGS "${CMAKE_CXX_FLAGS}" LINK_FLAGS "-mwindows" OUTPUT_NAME rawtherapee)
|
if(WIN32)
|
||||||
|
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)
|
set_target_properties(rth-cli PROPERTIES COMPILE_FLAGS "${CMAKE_CXX_FLAGS}" OUTPUT_NAME rawtherapee-cli)
|
||||||
|
|
||||||
# Add linked libraries dependencies to executables targets
|
# Add linked libraries dependencies to executables targets
|
||||||
|
Loading…
x
Reference in New Issue
Block a user