diff --git a/CMakeLists.txt b/CMakeLists.txt index 6f7fc27..276ddd9 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)