We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 677e2b7 commit d12ed0cCopy full SHA for d12ed0c
data/LibNexConfig.cmake.in
@@ -30,9 +30,7 @@ set(LIBNEX_LIBRARY "@LIBNEX_LIBRARY_FILE@")
30
# Create the imported target
31
add_library(LibNex::nex @LIBNEX_LIBTYPE@ IMPORTED)
32
set_target_properties(LibNex::nex PROPERTIES IMPORTED_LOCATION "@LIBNEX_LIBRARY_FILE@")
33
-if(NOT "@LIBNEX_LIBRARIES@" STREQUAL "")
34
- target_link_libraries(LibNex::nex INTERFACE "@LIBNEX_LIBRARIES@")
35
-endif()
+target_link_libraries(LibNex::nex INTERFACE "-lpthread;@LIBNEX_LIBRARIES@")
36
target_include_directories(LibNex::nex INTERFACE "@LIBNEX_INSTALL_INCLUDE_DIRS@")
37
38
# Set SOName
0 commit comments