Skip to content

Commit

Permalink
fix missing installation of static libs
Browse files Browse the repository at this point in the history
  • Loading branch information
markos committed Nov 20, 2023
1 parent 574e525 commit d611fcb
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 @@ -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()

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

Expand Down

0 comments on commit d611fcb

Please sign in to comment.