mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Fix macos build, hopefully.
This commit is contained in:
parent
1c1faeff2d
commit
8f8871454c
@ -25,6 +25,10 @@ else()
|
|||||||
set(USE_WAYLAND OFF)
|
set(USE_WAYLAND OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||||
|
add_compile_options(-fexperimental-library)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
add_definitions(-DNOMINMAX -DWIN32_LEAN_AND_MEAN -D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR)
|
add_definitions(-DNOMINMAX -DWIN32_LEAN_AND_MEAN -D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR)
|
||||||
add_compile_options(/MP)
|
add_compile_options(/MP)
|
||||||
|
Loading…
Reference in New Issue
Block a user