Fix macos build, hopefully.

This commit is contained in:
Bartosz Taudul 2024-09-26 16:02:47 +02:00
parent 1c1faeff2d
commit 8f8871454c
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -25,6 +25,10 @@ else()
set(USE_WAYLAND OFF)
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
add_compile_options(-fexperimental-library)
endif()
if(WIN32)
add_definitions(-DNOMINMAX -DWIN32_LEAN_AND_MEAN -D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR)
add_compile_options(/MP)