blob: bc0826b9dfb6a88c313273c0bb68aaa529be538b (
plain) (
tree)
|
|
Merged as:
https://github.com/VectorCamp/vectorscan/pull/65
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -501,19 +501,9 @@
configure_file(${CMAKE_MODULE_PATH}/config.h.in ${PROJECT_BINARY_DIR}/config.h)
configure_file(src/hs_version.h.in ${PROJECT_BINARY_DIR}/hs_version.h)
-if (NOT WIN32)
- # expand out library names for pkgconfig static link info
- foreach (LIB ${CMAKE_CXX_IMPLICIT_LINK_LIBRARIES})
- # this is fragile, but protects us from toolchain specific files
- if (NOT EXISTS ${LIB})
- set(PRIVATE_LIBS "${PRIVATE_LIBS} -l${LIB}")
- endif()
- endforeach()
-
- configure_file(libhs.pc.in libhs.pc @ONLY) # only replace @ quoted vars
- install(FILES ${CMAKE_BINARY_DIR}/libhs.pc
- DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
-endif()
+configure_file(libhs.pc.in libhs.pc @ONLY) # only replace @ quoted vars
+install(FILES ${CMAKE_BINARY_DIR}/libhs.pc
+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
# only set these after all tests are done
if (NOT FAT_RUNTIME)
--- a/libhs.pc.in
+++ b/libhs.pc.in
@@ -7,5 +7,4 @@
Description: Intel(R) Hyperscan Library
Version: @HS_VERSION@
Libs: -L${libdir} -lhs
-Libs.private: @PRIVATE_LIBS@
Cflags: -I${includedir}/hs
|