diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-04 11:08:39 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-04 11:08:39 +0300 |
commit | 6be668d881751519dbd4222c9a57684664243dbf (patch) | |
tree | 8edf8881877c368554075972c9a5823b9e6d60ab | |
parent | clang-format formatting fixes (diff) | |
download | winapi-utf8-6be668d881751519dbd4222c9a57684664243dbf.tar.gz winapi-utf8-6be668d881751519dbd4222c9a57684664243dbf.zip |
cmake: fix install commands
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d43a1aa..555e0b2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,9 @@ file(GLOB_RECURSE winapi_utf8_include "include/*.hpp") file(GLOB winapi_utf8_src "src/*.cpp") add_library(winapi_utf8 ${winapi_utf8_include} ${winapi_utf8_src}) target_include_directories(winapi_utf8 PUBLIC include/) -install(TARGETS winapi_utf8 LIBRARY DESTINATION lib) + +install(TARGETS winapi_utf8 ARCHIVE DESTINATION lib) +install(DIRECTORY include/winapi DESTINATION include) if(WINAPI_UTF8_ENABLE_TESTS) add_subdirectory(test) |