Browse Source

CMake: Clean up stray ${X11_LIBRARIES} direct reference

Sam Edwards 7 years ago
parent
commit
149303f04c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/x11display/CMakeLists.txt

+ 1 - 1
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)