CMake: Link Interrogate modules against 'core'.
This commit is contained in:
parent
1421627dd9
commit
841f3b8a49
|
|
@ -18,6 +18,7 @@ add_subdirectory(src/interval)
|
|||
add_subdirectory(src/showbase)
|
||||
|
||||
add_python_module(direct p3dcparser p3deadrec p3distributed p3interval p3showbase)
|
||||
target_link_libraries(direct core)
|
||||
|
||||
# Installation:
|
||||
if(HAVE_PYTHON)
|
||||
|
|
|
|||
|
|
@ -97,10 +97,13 @@ add_python_module(core ${CORE_MODULE_COMPONENTS} LINK panda)
|
|||
|
||||
if(HAVE_EGG)
|
||||
add_python_module(egg p3egg p3egg2pg)
|
||||
target_link_libraries(egg core)
|
||||
endif()
|
||||
|
||||
add_python_module(physics p3physics p3particlesystem)
|
||||
target_link_libraries(physics core)
|
||||
|
||||
if(HAVE_ODE)
|
||||
add_python_module(ode p3ode)
|
||||
target_link_libraries(ode core)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue