summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorJonathan Müller <jonathanmueller.dev@gmail.com>2016-06-27 19:54:25 +0200
committerJonathan Müller <jonathanmueller.dev@gmail.com>2016-06-27 19:54:25 +0200
commit9fe857d827b1fdb585e12d8387c3cb5fb5392c61 (patch)
tree301879117aa95ab6c75ae9cc148168cb20a3a992 /src/CMakeLists.txt
parent2b1b00fb19fe470f7745c208377345975b9e0b2c (diff)
Export the targets on installation
This allows using them in other cmake projects.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2de501a..eb646ac 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -126,6 +126,7 @@ endif(MSVC)
set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS ON)
include (InstallRequiredSystemLibraries)
install(TARGETS ${PROGRAM} ${LIBRARY} ${STATICLIBRARY}
+ EXPORT cmark
RUNTIME DESTINATION bin
LIBRARY DESTINATION ${LIB_INSTALL_DIR}
ARCHIVE DESTINATION ${LIB_INSTALL_DIR}