aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLee Salzman <[email protected]>2022-10-17 14:21:53 -0400
committerGitHub <[email protected]>2022-10-17 14:21:53 -0400
commit311360dbddc350722da00a3026077c47327e932d (patch)
tree531b1c888e0e9bedfbc33cefade4f7f4df9c4af7
parentb06d15457909d54cd4fc0ba58c3b257d7e913f7f (diff)
parent9fda19e54b01919b07d70c944c42576c4f1ef0b9 (diff)
downloadenet-311360dbddc350722da00a3026077c47327e932d.tar.gz
enet-311360dbddc350722da00a3026077c47327e932d.zip
Merge pull request #82 from JonnyPtn/master
Add install target to CMakeLists.txt
-rw-r--r--CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d2f6aa7..c6459b6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -92,3 +92,11 @@ add_library(enet STATIC
if (MINGW)
target_link_libraries(enet winmm ws2_32)
endif()
+
+install(TARGETS enet
+ RUNTIME DESTINATION bin
+ ARCHIVE DESTINATION lib/static
+ LIBRARY DESTINATION lib)
+
+install(DIRECTORY include/
+ DESTINATION include)