mirror of
https://github.com/louisrubet/rpn
synced 2024-11-16 07:47:26 +01:00
Remove useless compil options for C++20
This commit is contained in:
parent
b69b49d9fb
commit
4b9413b63b
1 changed files with 1 additions and 4 deletions
|
@ -79,12 +79,9 @@ set(LINENOISE_NG_SRC_FILES
|
|||
# compiler options
|
||||
set_source_files_properties(${RPN_SRC_FILES} COMPILE_FLAGS "-Wall -Wextra -pedantic -Wno-missing-field-initializers")
|
||||
|
||||
add_compile_options("-std=c++20" "-Wl,--no-as-needed"
|
||||
add_compile_options("-std=c++20"
|
||||
"$<$<CONFIG:DEBUG>:-O0;-g3;-ggdb>"
|
||||
"$<$<CONFIG:RELEASE>:-O3>")
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
|
||||
add_compile_options("-Wl,--no-as-needed -Wc++20-extensions")
|
||||
endif()
|
||||
|
||||
add_executable(rpn ${RPN_SRC_FILES} ${LINENOISE_NG_SRC_FILES})
|
||||
|
||||
|
|
Loading…
Reference in a new issue