mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
CMake: Clean up stray ${X11_LIBRARIES} direct reference
This commit is contained in:
parent
086663ef4a
commit
149303f04c
@ -14,7 +14,7 @@ set(P3X11DISPLAY_SOURCES
|
|||||||
composite_sources(p3x11display P3X11DISPLAY_SOURCES)
|
composite_sources(p3x11display P3X11DISPLAY_SOURCES)
|
||||||
add_component_library(p3x11display SYMBOL BUILDING_PANDAX11
|
add_component_library(p3x11display SYMBOL BUILDING_PANDAX11
|
||||||
${P3X11DISPLAY_HEADERS} ${P3X11DISPLAY_SOURCES})
|
${P3X11DISPLAY_HEADERS} ${P3X11DISPLAY_SOURCES})
|
||||||
target_link_libraries(p3x11display panda ${X11_LIBRARIES})
|
target_link_libraries(p3x11display panda PKG::X11)
|
||||||
|
|
||||||
if(NOT BUILD_METALIBS)
|
if(NOT BUILD_METALIBS)
|
||||||
install(TARGETS p3x11display DESTINATION lib)
|
install(TARGETS p3x11display DESTINATION lib)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user