mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
CMake: Update egg/physics metalibs to add_metalib(... INIT ...)
This commit is contained in:
parent
93306c0aa5
commit
c96a49e897
@ -2,9 +2,9 @@ if(NOT HAVE_EGG)
|
||||
return()
|
||||
endif()
|
||||
|
||||
set(PANDAEGG_LINK_TARGETS p3egg p3egg2pg)
|
||||
|
||||
add_metalib(pandaegg pandaegg.cxx COMPONENTS ${PANDAEGG_LINK_TARGETS})
|
||||
add_metalib(pandaegg
|
||||
INIT init_libpandaegg pandaegg.h
|
||||
COMPONENTS p3egg p3egg2pg)
|
||||
target_link_libraries(pandaegg panda)
|
||||
|
||||
install(TARGETS pandaegg DESTINATION lib)
|
||||
|
@ -1,3 +1,5 @@
|
||||
add_metalib(pandaphysics pandaphysics.cxx COMPONENTS p3physics p3particlesystem)
|
||||
add_metalib(pandaphysics
|
||||
INIT init_libpandaphysics pandaphysics.h
|
||||
COMPONENTS p3physics p3particlesystem)
|
||||
|
||||
install(TARGETS pandaphysics DESTINATION lib)
|
||||
|
Loading…
x
Reference in New Issue
Block a user