Skip to content

Commit beabbb7

Browse files
committed
CMake: do set -fforce-emit-vtables
1 parent 503a066 commit beabbb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/compiler-flags.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ SET(CMAKE_MODULE_LINKER_FLAGS
5353
if(CMAKE_INTERPROCEDURAL_OPTIMIZATION)
5454
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
5555
set(LIST )
56-
list(APPEND LIST -fno-force-emit-vtables)
56+
list(APPEND LIST -fforce-emit-vtables)
5757
list(APPEND LIST -fno-whole-program-vtables)
5858
list(APPEND LIST -fno-strict-vtable-pointers)
5959
add_compile_options("$<$<COMPILE_LANGUAGE:C,CXX>:${LIST}>")

0 commit comments

Comments
 (0)