Update CMakeLists.txt

This commit is contained in:
blueloveTH 2024-04-12 18:13:50 +08:00
parent f7eecaa165
commit b95244ab52

View File

@ -12,7 +12,7 @@ else()
# disable -Wshorten-64-to-32 for apple
if(APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions -frtti -Wno-shorten-64-to-32")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-shorten-64-to-32")
endif()
endif()