summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-04 08:00:25 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-04 08:00:25 -0800
commit6873b63029c6bf88a909dd85184d0aef34391cf5 (patch)
treed3a5e36b8a0f72594e62ce687d91f727b062bf6b /src
parent672c32dc15d420fa4c64df2c04d64d35efbf37d7 (diff)
Install static library.
Closes jgm/CommonMark#381.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f619453..f3e9877 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -117,9 +117,10 @@ endif(MSVC)
set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS ON)
include (InstallRequiredSystemLibraries)
-install(TARGETS ${PROGRAM} ${LIBRARY}
+install(TARGETS ${PROGRAM} ${LIBRARY} ${STATICLIBRARY}
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION lib
)
install(FILES