aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--cxx/CMakeLists.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d030045..6dc89d1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -33,4 +33,6 @@ endif()
add_subdirectory(cxx)
add_subdirectory(utils)
+install(TARGETS aes ARCHIVE DESTINATION lib)
+install(DIRECTORY include/aes DESTINATION include)
install(FILES LICENSE.txt DESTINATION share)
diff --git a/cxx/CMakeLists.txt b/cxx/CMakeLists.txt
index 64613f7..9bbf777 100644
--- a/cxx/CMakeLists.txt
+++ b/cxx/CMakeLists.txt
@@ -9,3 +9,5 @@ if(MSVC_VERSION EQUAL 1900)
# https://connect.microsoft.com/VisualStudio/feedback/details/888527/warnings-on-dbghelp-h
target_compile_options(aesxx INTERFACE /wd4091)
endif()
+
+install(DIRECTORY include/aesxx DESTINATION include)