CMake: exclude libm/librt on win32

pull/1979/head
nick black 3 years ago
parent 03fbf57f24
commit dd9e5bc312
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -83,7 +83,7 @@ set_package_properties(Threads PROPERTIES TYPE REQUIRED)
find_package(ZLIB) find_package(ZLIB)
set_package_properties(ZLIB PROPERTIES TYPE REQUIRED) set_package_properties(ZLIB PROPERTIES TYPE REQUIRED)
# platform-specific logics # platform-specific logics
if(NOT MSYS AND NOT APPLE) if(NOT MSYS AND NOT WIN32 AND NOT APPLE)
find_library(LIBM m REQUIRED) find_library(LIBM m REQUIRED)
find_library(LIBRT rt REQUIRED) find_library(LIBRT rt REQUIRED)
endif() endif()

Loading…
Cancel
Save