فهرست منبع

CMake: Update autorestart's CMakeLists to match the COMPILE_DEFINITIONS (rather than add_definitions) of the other components' CMakeLists files.

Sam Edwards 12 سال پیش
والد
کامیت
8a31b4b6a1
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      direct/src/autorestart/CMakeLists.txt

+ 1 - 1
direct/src/autorestart/CMakeLists.txt

@@ -1,3 +1,3 @@
-add_definitions(-DWITHIN_PANDA)
 add_executable(autorestart autorestart.c)
 add_executable(autorestart autorestart.c)
+set_target_properties(autorestart PROPERTIES COMPILE_DEFINITIONS WITHIN_PANDA)
 target_link_libraries(autorestart p3dtool)
 target_link_libraries(autorestart p3dtool)