mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
CMake: Remove unused LINK_IN_PHYSX
This commit is contained in:
parent
62e335a801
commit
9f46d3dc48
@ -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@"
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user