From b818478ddeeeda48e1e69531f3b045beffa362b8 Mon Sep 17 00:00:00 2001 From: Christopher McArthur Date: Sun, 19 Jan 2020 21:31:48 -0500 Subject: [PATCH] making export group --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index af5a240..b6d755a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,6 +26,8 @@ set(JWT_HEADERS ${JWT_INCLUDE_PATH}/jwt-cpp/base.h ${JWT_INCLUDE_PATH}/jwt-cpp/jwt.h) install(FILES ${JWT_HEADERS} DESTINATION include/jwt-cpp) +install(TARGETS jwt-cpp EXPORT jwt-cpp DESTINATION cmake/jwt-cpp) +install(EXPORT jwt-cpp DESTINATION cmake/jwt-cpp) if(BUILD_TESTS) add_subdirectory(tests)