From bf8bd830fc71ccb85e8fa1d51c71199c01f9db67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20M=C3=BCller?= Date: Mon, 27 Jun 2016 21:59:39 +0200 Subject: Change export install location --- CMakeLists.txt | 3 --- src/CMakeLists.txt | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8a50f9e..92b5450 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,6 +37,3 @@ 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) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index eb646ac..ea55800 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -139,6 +139,8 @@ install(FILES DESTINATION include ) +install(EXPORT cmark DESTINATION ${LIB_INSTALL_DIR}/cmake) + # Feature tests include(CheckIncludeFile) include(CheckCSourceCompiles) -- cgit v1.2.3