summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-07-14 21:58:11 -0700
committerGitHub <noreply@github.com>2016-07-14 21:58:11 -0700
commit03b5d601058c8d1a2121ff1f6e874a84a4a96a51 (patch)
tree0700213ca71b18b4b7f0a6773c250d1c694e923a /src
parentf988ab6d41855de43c157633852f0fe3c0770c6d (diff)
parentbf8bd830fc71ccb85e8fa1d51c71199c01f9db67 (diff)
Merge pull request #137 from foonathan/master
CMake fixes
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2de501a..ea55800 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}
@@ -138,6 +139,8 @@ install(FILES
DESTINATION include
)
+install(EXPORT cmark DESTINATION ${LIB_INSTALL_DIR}/cmake)
+
# Feature tests
include(CheckIncludeFile)
include(CheckCSourceCompiles)