From be80d87319ecdad861876efa173b4c576b4e0ea3 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 29 May 2021 01:44:43 +0300 Subject: cmake: add install() commands --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1a80fec..6df0992 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,6 +41,8 @@ target_link_libraries(winapi_debug PUBLIC Boost::boost PRIVATE Boost::disable_autolinking) target_link_libraries(winapi_debug PRIVATE dbghelp) +INSTALL(TARGETS winapi_debug ARCHIVE DESTINATION lib) +install(DIRECTORY include/winapi DESTINATION include) if(MSVC_VERSION EQUAL 1900) # DbgHelp warnings on Visual Studio 2015: -- cgit v1.2.3