Browse Source

CMake: Remove unused LINK_IN_PHYSX

Sam Edwards 7 years ago
parent
commit
9f46d3dc48
2 changed files with 0 additions and 11 deletions
  1. 0 3
      dtool/dtool_config.h.in
  2. 0 8
      panda/metalibs/panda/CMakeLists.txt

+ 0 - 3
dtool/dtool_config.h.in

@@ -233,9 +233,6 @@
    to compile them out.  */
    to compile them out.  */
 #cmakedefine NOTIFY_DEBUG
 #cmakedefine NOTIFY_DEBUG
 
 
-/* Define if we are linking PANDAPHYSX in with PANDA. */
-#cmakedefine LINK_IN_PHYSX
-
 /* The compiled-in character(s) to expect to separate different
 /* The compiled-in character(s) to expect to separate different
    components of a path list (e.g. $PRC_PATH). */
    components of a path list (e.g. $PRC_PATH). */
 #define DEFAULT_PATHSEP "@DEFAULT_PATHSEP@"
 #define DEFAULT_PATHSEP "@DEFAULT_PATHSEP@"

+ 0 - 8
panda/metalibs/panda/CMakeLists.txt

@@ -11,14 +11,6 @@ if(HAVE_FREETYPE)
   list(APPEND PANDA_LINK_TARGETS p3pnmtext)
   list(APPEND PANDA_LINK_TARGETS p3pnmtext)
 endif()
 endif()
 
 
-if(LINK_IN_PHYSX)
-  add_definitions(-DBUILDING_PANDAPHYSX)
-  set(PANDA_LINK_TARGETS
-    ${PANDA_LINK_TARGETS}
-    p3physx
-  )
-endif()
-
 add_metalib(panda panda.cxx COMPONENTS ${PANDA_LINK_TARGETS})
 add_metalib(panda panda.cxx COMPONENTS ${PANDA_LINK_TARGETS})
 set_target_properties(panda PROPERTIES DEFINE_SYMBOL BUILDING_LIBPANDA)
 set_target_properties(panda PROPERTIES DEFINE_SYMBOL BUILDING_LIBPANDA)