浏览代码

f no rtti (#14)

Lucien Greathouse 11 月之前
父节点
当前提交
40766c5da9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -45,7 +45,7 @@ if(MSVC)
   # Ignore 'unreferenced function with internal linkage'
   target_compile_options(joltc PRIVATE /wd4505)
 else()
-  target_compile_options(joltc PRIVATE -Wall -Wextra -Wpedantic)
+  target_compile_options(joltc PRIVATE -Wall -Wextra -Wpedantic -fno-rtti)
 endif()
 
 if (DOUBLE_PRECISION)