CMake: Use target_compile_definitions instead of setting the property

liquid_container
Nicolas Hake 2016-02-13 21:35:32 +01:00
parent a69958554f
commit acafce33b0
1 changed files with 1 additions and 1 deletions

View File

@ -1126,7 +1126,7 @@ add_executable(openclonk-server
src/platform/C4StdInProc.cpp
src/platform/C4StdInProc.h
)
set_property(TARGET openclonk-server APPEND PROPERTY COMPILE_DEFINITIONS "USE_CONSOLE")
target_compile_definitions(openclonk-server PRIVATE "USE_CONSOLE")
target_link_libraries(openclonk-server
${PNG_LIBRARIES}