From: Konstantinos Margaritis Date: Mon, 20 Nov 2023 20:39:12 +0000 (+0200) Subject: fix missing installation of static libs X-Git-Tag: vectorscan/5.4.11^2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d611fcbaa8cc9aaa6b163c6941721c7fd751c648;p=thirdparty%2Fvectorscan.git fix missing installation of static libs --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 024acbaa..15a74bc1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1118,7 +1118,7 @@ else () endif (ARCH_AARCH64) endif (NOT FAT_RUNTIME) -if (NOT BUILD_SHARED_LIBS) +if (BUILD_STATIC_LIBS) install(TARGETS hs_runtime DESTINATION ${CMAKE_INSTALL_LIBDIR}) endif() @@ -1150,7 +1150,7 @@ if (BUILD_STATIC_LIBS) add_dependencies(hs ragel_Parser) endif () -if (NOT BUILD_SHARED_LIBS) +if (BUILD_STATIC_LIBS) install(TARGETS hs DESTINATION ${CMAKE_INSTALL_LIBDIR}) endif()