mirror of https://github.com/libAthena/athena.git
More permissive atdna warnings
This commit is contained in:
parent
ffbd1a0bcd
commit
d4f7132047
|
@ -130,11 +130,9 @@ set_source_files_properties(main.cpp PROPERTIES COMPILE_DEFINITIONS
|
||||||
target_include_directories(atdna PRIVATE ${LLVM_INCLUDE_DIRS})
|
target_include_directories(atdna PRIVATE ${LLVM_INCLUDE_DIRS})
|
||||||
target_link_directories(atdna PRIVATE ${LLVM_LIBRARY_DIRS})
|
target_link_directories(atdna PRIVATE ${LLVM_LIBRARY_DIRS})
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
set_target_properties(atdna PROPERTIES
|
target_compile_options(atdna PRIVATE /GR-)
|
||||||
COMPILE_FLAGS "/GR-")
|
|
||||||
else()
|
else()
|
||||||
set_target_properties(atdna PROPERTIES
|
target_compile_options(atdna PRIVATE -fno-rtti -Wno-error)
|
||||||
COMPILE_FLAGS "-fno-rtti -Wno-unused-parameter")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Define installs
|
# Define installs
|
||||||
|
|
Loading…
Reference in New Issue