1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 12:23:53 +00:00

Enable -fexperimental-library only for C++

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

View File

@ -24,7 +24,7 @@ endif()
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin") if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
if(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") if(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
add_compile_options(-fexperimental-library) add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-fexperimental-library>)
endif() endif()
endif() endif()