diff --git a/panda/src/x11display/CMakeLists.txt b/panda/src/x11display/CMakeLists.txt index b4138fb0f6..897653c4e2 100644 --- a/panda/src/x11display/CMakeLists.txt +++ b/panda/src/x11display/CMakeLists.txt @@ -14,7 +14,7 @@ set(P3X11DISPLAY_SOURCES composite_sources(p3x11display P3X11DISPLAY_SOURCES) add_component_library(p3x11display SYMBOL BUILDING_PANDAX11 ${P3X11DISPLAY_HEADERS} ${P3X11DISPLAY_SOURCES}) -target_link_libraries(p3x11display panda ${X11_LIBRARIES}) +target_link_libraries(p3x11display panda PKG::X11) if(NOT BUILD_METALIBS) install(TARGETS p3x11display DESTINATION lib)