Michael Keck
276ff5ae05
CMake: Fix linking for Windows builds on non-mingw compilers ( #241 )
2024-04-17 00:45:27 -04:00
Lee Salzman
311360dbdd
Merge pull request #82 from JonnyPtn/master
...
Add install target to CMakeLists.txt
2022-10-17 14:21:53 -04:00
metaquarx
92ef50a080
future proof cmake minimum version
2022-01-19 19:22:50 +00:00
jonathan.r.paton@googlemail.com
9fda19e54b
Add install target to CMakeLists.txt
2021-05-14 10:54:52 +01:00
Lee Salzman
cf735e639e
fix minimum cmake version
2021-04-26 00:01:11 -04:00
Lukasz Fronc
67f964c2ad
CMake source groups added for cleaner VS solutions.
2017-10-15 11:02:29 +02:00
James Rowe
6cc8cc8a26
Fix mingw compilation
...
In order to compile enet on mingw, you need to link against winmm and
ws2_32. This explicitly makes those libraries required on mingw
2017-07-12 19:24:14 -06:00
Cong
90560cd471
Don't treat warnings as errors
...
When enet is included as a child CMake project in a parent that has warnings treated as errors, enet fails to build. This ensures that the compiler doesn't treat warnings as errors for enet.
2017-05-22 10:15:27 +10:00
Cong
5f5e977eef
MSVC only warn up to level 3
...
enet produces warnings at level 4, which can interrupt compiles if warnings are treated as errors. Turning down the warning level resolves the issue.
2017-05-21 20:05:56 +10:00
Lee Salzman
5f476546ed
use getaddrinfo and getnameinfo where available
2015-05-11 05:41:27 -04:00
Lee Salzman
c8fa0aeea4
add cmake support
2014-12-02 17:46:04 +02:00