diff options
-rwxr-xr-x | CMakeLists.txt | 3 | ||||
-rw-r--r-- | 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) |