diff --git a/panda/metalibs/pandagl/CMakeLists.txt b/panda/metalibs/pandagl/CMakeLists.txt index e2bd719880..78330b4a7f 100644 --- a/panda/metalibs/pandagl/CMakeLists.txt +++ b/panda/metalibs/pandagl/CMakeLists.txt @@ -19,7 +19,6 @@ if(HAVE_GL) if(HAVE_COCOA) set(PANDAGL_LINK_TARGETS ${PANDAGL_LINK_TARGETS} p3cocoadisplay) endif() - if(HAVE_CARBON) set(PANDAGL_LINK_TARGETS ${PANDAGL_LINK_TARGETS} p3osxdisplay) endif() diff --git a/panda/src/cocoadisplay/CMakeLists.txt b/panda/src/cocoadisplay/CMakeLists.txt index 822942ff66..8d40f301ed 100644 --- a/panda/src/cocoadisplay/CMakeLists.txt +++ b/panda/src/cocoadisplay/CMakeLists.txt @@ -33,3 +33,5 @@ find_library(APPKIT_LIBRARY AppKit) find_library(CARBON_LIBRARY Carbon) target_link_libraries(p3cocoadisplay ${APPLICATIONSERVICES_LIBRARY} ${APPKIT_LIBRARY} ${CARBON_LIBRARY}) + +install(TARGETS p3cocoadisplay DESTINATION lib) \ No newline at end of file diff --git a/panda/src/osxdisplay/CMakeLists.txt b/panda/src/osxdisplay/CMakeLists.txt index 6cabaca987..fd94a2bcc5 100644 --- a/panda/src/osxdisplay/CMakeLists.txt +++ b/panda/src/osxdisplay/CMakeLists.txt @@ -26,3 +26,5 @@ find_library(COCOA_LIBRARY Cocoa) target_link_libraries(p3osxdisplay ${APPLICATIONSERVICES_LIBRARY} ${CARBON_LIBRARY} ${AGL_LIBRARY} ${CORESERVICES_LIBRARY} ${COCOA_LIBRARY}) + +install(TARGETS p3osxdisplay DESTINATION lib) \ No newline at end of file