File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -225,6 +225,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXX_FLAGS}")
225
225
endif ()
226
226
227
227
SET (hs_HEADERS
228
+ ${PROJECT_BINARY_DIR} /hs_version.h
228
229
src/hs.h
229
230
src/hs_common.h
230
231
src/hs_compile.h
@@ -1118,7 +1119,7 @@ else ()
1118
1119
endif (ARCH_AARCH64)
1119
1120
endif (NOT FAT_RUNTIME)
1120
1121
1121
- if (NOT BUILD_SHARED_LIBS )
1122
+ if (BUILD_STATIC_LIBS )
1122
1123
install (TARGETS hs_runtime DESTINATION ${CMAKE_INSTALL_LIBDIR} )
1123
1124
endif ()
1124
1125
@@ -1150,7 +1151,7 @@ if (BUILD_STATIC_LIBS)
1150
1151
add_dependencies (hs ragel_Parser)
1151
1152
endif ()
1152
1153
1153
- if (NOT BUILD_SHARED_LIBS )
1154
+ if (BUILD_STATIC_LIBS )
1154
1155
install (TARGETS hs DESTINATION ${CMAKE_INSTALL_LIBDIR} )
1155
1156
endif ()
1156
1157
You can’t perform that action at this time.
0 commit comments