1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Enable -fexperimental-library only for AppleClang

This commit is contained in:
foxtran 2024-12-20 11:39:49 +01:00 committed by GitHub
parent 7fc3366086
commit 01a7f62650
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,9 @@ else()
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
if(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
add_compile_options(-fexperimental-library)
endif()
endif()
if(WIN32)