]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
fix missing installation of static libs 200/head
authorKonstantinos Margaritis <markos@freevec.org>
Mon, 20 Nov 2023 20:39:12 +0000 (22:39 +0200)
committerKonstantinos Margaritis <markos@freevec.org>
Mon, 20 Nov 2023 20:39:12 +0000 (22:39 +0200)
CMakeLists.txt

index 024acbaab484abdd5ec27e171dd1936ff5525e2d..15a74bc1bc532f037872e1dc47f7f861c7bde4b4 100644 (file)
@@ -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()