Skip to content

Commit

Permalink
Fix macos build, hopefully.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfpld committed Sep 26, 2024
1 parent 1c1faef commit 8f88714
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8f88714

Please sign in to comment.