1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08: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
+1 -1
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()