Merge pull request #200 from VectorCamp/bugfix/install-static-libs

fix missing installation of static libs
This commit is contained in:
Konstantinos Margaritis 2023-11-21 11:46:29 +02:00 committed by GitHub
commit 44b893abfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1119,7 +1119,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()
@ -1151,7 +1151,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()