Browse Source

CMake: Remove redundant target_compile_definitions(WITHIN_PANDA)

This is no longer needed since they should now propagate from
dcparser automatically.
Sam Edwards 7 years ago
parent
commit
f1c5352cc1
2 changed files with 0 additions and 2 deletions
  1. 0 1
      direct/src/dcparse/CMakeLists.txt
  2. 0 1
      direct/src/distributed/CMakeLists.txt

+ 0 - 1
direct/src/dcparse/CMakeLists.txt

@@ -1,4 +1,3 @@
 add_executable(p3dcparse dcparse.cxx)
-target_compile_definitions(p3dcparse PUBLIC WITHIN_PANDA)
 target_link_libraries(p3dcparse p3direct)
 install(TARGETS p3dcparse DESTINATION bin)

+ 0 - 1
direct/src/distributed/CMakeLists.txt

@@ -16,7 +16,6 @@ set(P3DISTRIBUTED_SOURCES
 
 add_component_library(p3distributed SYMBOL BUILDING_DIRECT_DISTRIBUTED
   ${P3DISTRIBUTED_HEADERS} ${P3DISTRIBUTED_SOURCES})
-target_compile_definitions(p3distributed PUBLIC WITHIN_PANDA)
 target_link_libraries(p3distributed p3directbase p3dcparser panda PKG::PYTHON)
 target_interrogate(p3distributed ALL)