mirror of
https://github.com/lsalzman/enet
synced 2024-11-21 06:25:59 -07:00
Merge pull request #82 from JonnyPtn/master
Add install target to CMakeLists.txt
This commit is contained in:
commit
311360dbdd
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