mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
CMake: exclude libm/librt on win32
This commit is contained in:
parent
03fbf57f24
commit
dd9e5bc312
@ -83,7 +83,7 @@ set_package_properties(Threads PROPERTIES TYPE REQUIRED)
|
||||
find_package(ZLIB)
|
||||
set_package_properties(ZLIB PROPERTIES TYPE REQUIRED)
|
||||
# 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(LIBRT rt REQUIRED)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user