mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
CMake: Oops, fix some macOS linkage mistakes
This commit is contained in:
parent
4504530fd5
commit
66d145e2d2
@ -30,7 +30,7 @@ composite_sources(p3cocoadisplay P3COCOADISPLAY_SOURCES)
|
||||
add_component_library(p3cocoadisplay SYMBOL BUILDING_PANDA_COCOADISPLAY
|
||||
${P3COCOADISPLAY_HEADERS} ${P3COCOADISPLAY_SOURCES})
|
||||
set_target_properties(p3cocoadisplay PROPERTIES COMPILE_FLAGS "-ObjC++")
|
||||
target_link_libraries(p3cocoadisplay p3display p3putil p3glgsg)
|
||||
target_link_libraries(p3cocoadisplay p3glgsg panda)
|
||||
|
||||
# Frameworks:
|
||||
find_library(APPLICATIONSERVICES_LIBRARY ApplicationServices)
|
||||
|
@ -18,7 +18,7 @@ composite_sources(p3osxdisplay P3OSXDISPLAY_SOURCES)
|
||||
add_component_library(p3osxdisplay SYMBOL BUILDING_PANDA_OSXDISPLAY
|
||||
${P3OSXDISPLAY_HEADERS} ${P3OSXDISPLAY_SOURCES})
|
||||
set_target_properties(p3osxdisplay PROPERTIES COMPILE_FLAGS "-ObjC++")
|
||||
target_link_libraries(p3osxdisplay p3display p3putil p3glgsg)
|
||||
target_link_libraries(p3osxdisplay p3glgsg panda)
|
||||
|
||||
# Frameworks:
|
||||
find_library(APPLICATIONSERVICES_LIBRARY ApplicationServices)
|
||||
|
Loading…
x
Reference in New Issue
Block a user