aboutsummaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited 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)