mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
CMake: Adjust several forgotten component libraries
This commit is contained in:
parent
827f322d0e
commit
e05380509b
@ -19,6 +19,6 @@ set(P3WGLDISPLAY_SOURCES
|
|||||||
|
|
||||||
|
|
||||||
composite_sources(p3wgldisplay P3WGLDISPLAY_SOURCES)
|
composite_sources(p3wgldisplay P3WGLDISPLAY_SOURCES)
|
||||||
add_library(p3wgldisplay ${P3WGLDISPLAY_HEADERS} ${P3WGLDISPLAY_SOURCES})
|
add_component_library(p3wgldisplay SYMBOL BUILDING_PANDAGL
|
||||||
set_target_properties(p3wgldisplay PROPERTIES DEFINE_SYMBOL BUILDING_PANDAGL)
|
${P3WGLDISPLAY_HEADERS} ${P3WGLDISPLAY_SOURCES})
|
||||||
target_link_libraries(p3wgldisplay p3display p3putil p3windisplay p3glgsg)
|
target_link_libraries(p3wgldisplay p3display p3putil p3windisplay p3glgsg)
|
||||||
|
@ -14,6 +14,6 @@ set(P3WINDISPLAY_SOURCES
|
|||||||
winDetectDx9.cxx)
|
winDetectDx9.cxx)
|
||||||
|
|
||||||
composite_sources(p3windisplay P3WINDISPLAY_SOURCES)
|
composite_sources(p3windisplay P3WINDISPLAY_SOURCES)
|
||||||
add_library(p3windisplay ${P3WINDISPLAY_HEADERS} ${P3WINDISPLAY_SOURCES})
|
add_component_library(p3windisplay SYMBOL BUILDING_PANDAWIN
|
||||||
set_target_properties(p3windisplay PROPERTIES DEFINE_SYMBOL BUILDING_PANDAWIN)
|
${P3WINDISPLAY_HEADERS} ${P3WINDISPLAY_SOURCES})
|
||||||
target_link_libraries(p3windisplay p3display p3putil Imm32.lib)
|
target_link_libraries(p3windisplay p3display p3putil Imm32.lib)
|
||||||
|
@ -12,8 +12,8 @@ set(P3X11DISPLAY_SOURCES
|
|||||||
)
|
)
|
||||||
|
|
||||||
composite_sources(p3x11display P3X11DISPLAY_SOURCES)
|
composite_sources(p3x11display P3X11DISPLAY_SOURCES)
|
||||||
add_library(p3x11display ${P3X11DISPLAY_HEADERS} ${P3X11DISPLAY_SOURCES})
|
add_component_library(p3x11display SYMBOL BUILDING_PANDAX11
|
||||||
set_target_properties(p3x11display PROPERTIES DEFINE_SYMBOL BUILDING_PANDAX11)
|
${P3X11DISPLAY_HEADERS} ${P3X11DISPLAY_SOURCES})
|
||||||
target_link_libraries(p3x11display panda ${X11_LIBRARIES})
|
target_link_libraries(p3x11display panda ${X11_LIBRARIES})
|
||||||
|
|
||||||
install(TARGETS p3x11display DESTINATION lib)
|
install(TARGETS p3x11display DESTINATION lib)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user