Change debug optimization flag
This commit is contained in:
parent
20859dbcd8
commit
50015a34ae
1 changed files with 2 additions and 2 deletions
|
@ -40,13 +40,13 @@ target_compile_options(TrianglesLib PRIVATE
|
|||
-Wall -Wextra -Wpedantic
|
||||
-Wsuggest-override
|
||||
$<$<COMPILE_LANGUAGE:CXX>:-Weffc++>
|
||||
$<$<CONFIG:DEBUG>:-O0>
|
||||
$<$<CONFIG:DEBUG>:-Og>
|
||||
)
|
||||
target_compile_options(Triangles PRIVATE
|
||||
-Wall -Wextra -Wpedantic
|
||||
-Wsuggest-override
|
||||
$<$<COMPILE_LANGUAGE:CXX>:-Weffc++>
|
||||
$<$<CONFIG:DEBUG>:-O0>
|
||||
$<$<CONFIG:DEBUG>:-Og>
|
||||
)
|
||||
|
||||
target_link_libraries(Triangles PUBLIC TrianglesLib)
|
||||
|
|
Loading…
Reference in a new issue