Skip to content

Commit

Permalink
Revert "Set a proper option for each compiler"
Browse files Browse the repository at this point in the history
This reverts commit eefd86e.
  • Loading branch information
certik committed Oct 8, 2019
1 parent 17c41ef commit d2292cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ if (WITH_LLVM)
#set_property(TARGET p::llvm PROPERTY INTERFACE_COMPILE_OPTIONS
# ${LLVM_DEFINITIONS})
set_property(TARGET p::llvm PROPERTY INTERFACE_COMPILE_OPTIONS
$<$<COMPILE_LANG_AND_ID:CXX,AppleClang,Clang,GNU>:-fno-rtti>
$<$<COMPILE_LANG_AND_ID:CXX,MSVC>:/GR->)
$<$<COMPILE_LANGUAGE:CXX>:-fno-rtti>)
set_property(TARGET p::llvm PROPERTY INTERFACE_LINK_LIBRARIES
${llvm_libs})
endif()
Expand Down

0 comments on commit d2292cc

Please sign in to comment.