forked from Mirrors/openclonk
CMake: Use target_compile_definitions instead of setting the property
parent
a69958554f
commit
acafce33b0
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue