mirror of
https://git.freebsd.org/ports.git
synced 2025-05-20 02:53:10 -04:00
Some of the patches retained here may be out of scope now, such as those patches still adding a definition for NT_GNU_BUILD_ID. Changelog: https://git.lttng.org/?p=lttng-ust.git;a=blob_plain;f=ChangeLog;hb=ac8d9a90b1e9052d2dea77e0b0c92b779bceb4a8 PR: 263112
18 lines
907 B
CMake
18 lines
907 B
CMake
--- doc/examples/cmake-multiple-shared-libraries/cmake/FindLTTngUST.cmake.orig 2022-01-27 20:18:46 UTC
|
|
+++ doc/examples/cmake-multiple-shared-libraries/cmake/FindLTTngUST.cmake
|
|
@@ -97,13 +97,13 @@ if(LTTNGUST_INCLUDE_DIRS AND LTTNGUST_INCLUDE_DIRS_GEN
|
|
add_library(LTTng::UST UNKNOWN IMPORTED)
|
|
set_target_properties(LTTng::UST PROPERTIES
|
|
INTERFACE_INCLUDE_DIRECTORIES "${LTTNGUST_INCLUDE_DIRS};${LTTNGUST_INCLUDE_DIRS_GENERATED}"
|
|
- INTERFACE_LINK_LIBRARIES ${CMAKE_DL_LIBS}
|
|
+ INTERFACE_LINK_LIBRARIES "${CMAKE_DL_LIBS}"
|
|
IMPORTED_LINK_INTERFACE_LANGUAGES "C"
|
|
IMPORTED_LOCATION "${LTTNGUST_LIBRARIES}")
|
|
endif()
|
|
|
|
# add libdl to required libraries
|
|
- set(LTTNGUST_LIBRARIES ${LTTNGUST_LIBRARIES} ${CMAKE_DL_LIBS})
|
|
+ set(LTTNGUST_LIBRARIES ${LTTNGUST_LIBRARIES} "${CMAKE_DL_LIBS}")
|
|
endif()
|
|
|
|
# handle the QUIETLY and REQUIRED arguments and set LTTNGUST_FOUND to
|