From 841f3b8a49d99e778c34c326dfd4732883166bd4 Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Sun, 30 Mar 2014 04:51:38 -0600 Subject: [PATCH] CMake: Link Interrogate modules against 'core'. --- direct/CMakeLists.txt | 1 + panda/CMakeLists.txt | 3 +++ 2 files changed, 4 insertions(+) diff --git a/direct/CMakeLists.txt b/direct/CMakeLists.txt index 6fc755a522..b293728ee1 100644 --- a/direct/CMakeLists.txt +++ b/direct/CMakeLists.txt @@ -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) diff --git a/panda/CMakeLists.txt b/panda/CMakeLists.txt index 84184d1295..1283fa1b80 100644 --- a/panda/CMakeLists.txt +++ b/panda/CMakeLists.txt @@ -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()