Skip to content

Commit

Permalink
Merge pull request #200 from VectorCamp/bugfix/install-static-libs
Browse files Browse the repository at this point in the history
fix missing installation of static libs
  • Loading branch information
markos authored Nov 21, 2023
2 parents c3a6bb3 + d611fcb commit 44b893a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down Expand Up @@ -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()

Expand Down

0 comments on commit 44b893a

Please sign in to comment.