From 11aebb99d0c38abfe4bc11b0f081e3c48ff6fbc9 Mon Sep 17 00:00:00 2001 From: brarcher Date: Tue, 4 Feb 2014 00:35:56 +0000 Subject: [PATCH] cmake: install a check.cmake file to help configure projects If CMake was used to compile and install Check, then a check.cmake file was generated and installed along with the library. If a project wants to link against Check in this situation, then the project will need to include that check.cmake file. git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1090 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6600695..dae28fc 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -56,8 +56,10 @@ if(MSVC) endif (MSVC) install(TARGETS check + EXPORT check RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib) install(FILES ${CMAKE_BINARY_DIR}/src/check.h DESTINATION include) +install(EXPORT check DESTINATION cmake) -- 2.50.1