We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5198054 commit 20e7a11Copy full SHA for 20e7a11
CMakeLists.txt
@@ -110,7 +110,10 @@ if(LSL_BUNDLED_PUGIXML)
110
else()
111
message(STATUS "Using system pugixml")
112
find_package(pugixml REQUIRED)
113
- target_link_libraries(lslobj PRIVATE pugixml)
+ if(NOT TARGET pugixml::pugixml)
114
+ add_library(pugixml::pugixml ALIAS pugixml)
115
+ endif()
116
+ target_link_libraries(lslobj PUBLIC pugixml::pugixml)
117
endif()
118
119
# try to find out which revision is currently checked out
0 commit comments