mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-25 22:10:41 -04:00
Revert "[Build] Fix for MSYS2 build while maintaining MSVC fix"
This reverts commit faf1c416f3f247d8f422937c84a7945abbe3ea70.
This commit is contained in:
parent
4b497a18c6
commit
fb34e2c4ba
@ -54,22 +54,14 @@ IF(RakNet_FOUND)
|
|||||||
IF (CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE)
|
IF (CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE)
|
||||||
SET(RakNet_LIBRARY optimized ${RakNet_LIBRARY_RELEASE} debug ${RakNet_LIBRARY_DEBUG})
|
SET(RakNet_LIBRARY optimized ${RakNet_LIBRARY_RELEASE} debug ${RakNet_LIBRARY_DEBUG})
|
||||||
IF(WIN32)
|
IF(WIN32)
|
||||||
IF(MSVC)
|
SET(RakNet_LIBRARY optimized ${RakNet_LIBRARY_RELEASE} debug ${RakNet_LIBRARY_DEBUG} ws2_32.lib)
|
||||||
SET(RakNet_LIBRARY optimized ${RakNet_LIBRARY_RELEASE} debug ${RakNet_LIBRARY_DEBUG} ws2_32.lib)
|
|
||||||
ELSE()
|
|
||||||
SET(RakNet_LIBRARY optimized ${RakNet_LIBRARY_RELEASE} debug ${RakNet_LIBRARY_DEBUG} -lws2_32)
|
|
||||||
ENDIF(MSVC)
|
|
||||||
ENDIF(WIN32)
|
ENDIF(WIN32)
|
||||||
ELSE()
|
ELSE()
|
||||||
# if there are no configuration types and CMAKE_BUILD_TYPE has no value
|
# if there are no configuration types and CMAKE_BUILD_TYPE has no value
|
||||||
# then just use the release libraries
|
# then just use the release libraries
|
||||||
SET(RakNet_LIBRARY ${RakNet_LIBRARY_RELEASE} )
|
SET(RakNet_LIBRARY ${RakNet_LIBRARY_RELEASE} )
|
||||||
IF(WIN32)
|
IF(WIN32)
|
||||||
if(MSVC)
|
SET(RakNet_LIBRARY ${RakNet_LIBRARY_RELEASE} ws2_32.lib)
|
||||||
SET(RakNet_LIBRARY ${RakNet_LIBRARY_RELEASE} ws2_32.lib)
|
|
||||||
ELSE()
|
|
||||||
SET(RakNet_LIBRARY ${RakNet_LIBRARY_RELEASE} -lws2_32)
|
|
||||||
ENDIF(MSVC)
|
|
||||||
ENDIF(WIN32)
|
ENDIF(WIN32)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user