2
0
mirror of https://github.com/wolfpld/tracy synced 2026-01-19 04:52:09 +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

View File

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