More permissive atdna warnings

This commit is contained in:
Jack Andersen 2019-08-31 10:35:50 -10:00
parent ffbd1a0bcd
commit d4f7132047
1 changed files with 2 additions and 4 deletions

View File

@ -130,11 +130,9 @@ set_source_files_properties(main.cpp PROPERTIES COMPILE_DEFINITIONS
target_include_directories(atdna PRIVATE ${LLVM_INCLUDE_DIRS})
target_link_directories(atdna PRIVATE ${LLVM_LIBRARY_DIRS})
if(MSVC)
set_target_properties(atdna PROPERTIES
COMPILE_FLAGS "/GR-")
target_compile_options(atdna PRIVATE /GR-)
else()
set_target_properties(atdna PROPERTIES
COMPILE_FLAGS "-fno-rtti -Wno-unused-parameter")
target_compile_options(atdna PRIVATE -fno-rtti -Wno-error)
endif()
# Define installs