From 9fe857d827b1fdb585e12d8387c3cb5fb5392c61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20M=C3=BCller?= Date: Mon, 27 Jun 2016 19:54:25 +0200 Subject: Export the targets on installation This allows using them in other cmake projects. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ab6a72..52f8b4b 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,3 +29,6 @@ if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, options are: Debug Profile Release Asan Ubsan." FORCE) endif(NOT CMAKE_BUILD_TYPE) + +# export targets +install(EXPORT cmark DESTINATION lib/cmake) -- cgit v1.2.3