mirror of
https://github.com/lsalzman/enet
synced 2024-11-21 06:25:59 -07:00
Add install target to CMakeLists.txt
This commit is contained in:
parent
cf735e639e
commit
9fda19e54b
1 changed files with 8 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue