Skip to content

Commit 6873b63

Browse files
committed
Install static library.
Closes commonmark/commonmark-spec#381.
1 parent 672c32d commit 6873b63

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,10 @@ endif(MSVC)
117117

118118
set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS ON)
119119
include (InstallRequiredSystemLibraries)
120-
install(TARGETS ${PROGRAM} ${LIBRARY}
120+
install(TARGETS ${PROGRAM} ${LIBRARY} ${STATICLIBRARY}
121121
RUNTIME DESTINATION bin
122122
LIBRARY DESTINATION lib
123+
ARCHIVE DESTINATION lib
123124
)
124125

125126
install(FILES

0 commit comments

Comments
 (0)