CMake: Only build 'autorestart' on UNIX.
This commit is contained in:
parent
e2a03d6435
commit
9035f7aa85
|
|
@ -1,3 +1,5 @@
|
|||
add_executable(autorestart autorestart.c)
|
||||
set_target_properties(autorestart PROPERTIES COMPILE_DEFINITIONS WITHIN_PANDA)
|
||||
target_link_libraries(autorestart p3dtool)
|
||||
if(UNIX)
|
||||
add_executable(autorestart autorestart.c)
|
||||
set_target_properties(autorestart PROPERTIES COMPILE_DEFINITIONS WITHIN_PANDA)
|
||||
target_link_libraries(autorestart p3dtool)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue