Browse Source

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

Sam Edwards 12 years ago
parent
commit
8a31b4b6a1
1 changed files with 1 additions and 1 deletions
  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)
+set_target_properties(autorestart PROPERTIES COMPILE_DEFINITIONS WITHIN_PANDA)
 target_link_libraries(autorestart p3dtool)