Update enet to 1.3.15
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7020 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 0602774124a4247fa247494988d132e37c1cdd6f Former-commit-id: dedf1878e7f3903a66ca2ac7acb71d0de78e6b77
This commit is contained in:
parent
ee06cd718c
commit
1a289b974c
3 changed files with 11 additions and 11 deletions
|
@ -261,15 +261,15 @@ ExternalProject_Add_Step(FreeSOLID-2.1.2 freesolid_add_cmake
|
|||
endif(OPTION_FREESOLID)
|
||||
|
||||
if(OPTION_ENET)
|
||||
set(ENET_PROJECT enet-1.3.14)
|
||||
set(ENET_PROJECT enet-1.3.15)
|
||||
ExternalProject_Add(${ENET_PROJECT}
|
||||
URL http://enet.bespin.org/download/enet-1.3.14.tar.gz
|
||||
URL_HASH SHA256=98f6f57aab0a424469619ed3047728f0d3901ce8f0dea919c11e7966d807e870
|
||||
URL http://enet.bespin.org/download/enet-1.3.15.tar.gz
|
||||
URL_HASH SHA256=5abdf63346e54272344d8184b5a2f333d202d809d28123911cbd993e5772bdfb
|
||||
CMAKE_ARGS ${EXTERNALS_CMAKE_ARGS}
|
||||
)
|
||||
ExternalProject_Add_Step(${ENET_PROJECT} enet_add_cmake
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
"${CMAKE_SOURCE_DIR}/patches/enet-1.3.14.CMakeLists.txt"
|
||||
"${CMAKE_SOURCE_DIR}/patches/enet-1.3.15.CMakeLists.txt"
|
||||
"<SOURCE_DIR>/CMakeLists.txt"
|
||||
DEPENDEES update # do after update
|
||||
DEPENDERS patch # do before patch
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Copyright (c) 2002-2019 Lee Salzman
|
||||
Copyright (c) 2002-2020 Lee Salzman
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
|
|
|
@ -93,10 +93,10 @@ if (WIN32)
|
|||
target_link_libraries(enet winmm ws2_32)
|
||||
endif()
|
||||
|
||||
install(FILES ${INCLUDE_FILES}
|
||||
DESTINATION include/enet)
|
||||
|
||||
install(TARGETS enet
|
||||
RUNTIME DESTINATION bin
|
||||
LIBRARY DESTINATION lib
|
||||
install(FILES ${INCLUDE_FILES}
|
||||
DESTINATION include/enet)
|
||||
|
||||
install(TARGETS enet
|
||||
RUNTIME DESTINATION bin
|
||||
LIBRARY DESTINATION lib
|
||||
ARCHIVE DESTINATION lib)
|
Loading…
Reference in a new issue