Add CMakeLists.txt for panda/metalibs/panda
This commit is contained in:
parent
ba2d2defb2
commit
a27475b9a6
|
|
@ -52,4 +52,4 @@ add_subdirectory(src/framework)
|
|||
#add_subdirectory(src/testbed)
|
||||
|
||||
# Include panda metalibs
|
||||
#add_subdirectory(metalibs/panda)
|
||||
add_subdirectory(metalibs/panda)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
set(PANDA_LINK_TARGETS p3pnmimagetypes p3device)
|
||||
|
||||
if(LINK_IN_PHYSX)
|
||||
add_definitions(-DBUILDING_PANDAPHYSX)
|
||||
set(PANDA_LINK_TARGETS
|
||||
${PANDA_LINK_TARGETS}
|
||||
p3physx
|
||||
)
|
||||
endif()
|
||||
|
||||
add_library(panda panda.cxx)
|
||||
target_link_libraries(panda ${PANDA_LINK_TARGETS})
|
||||
Loading…
Reference in New Issue