Fixed typo in CMakeList.txt
This commit is contained in:
parent
dfcc3ace66
commit
282ff6964b
|
@ -32,10 +32,9 @@ endif()
|
|||
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
set(warnings "-Wall -Wextra -Werror")
|
||||
set(CMAKE_CXX_FLAG_RELEASE "-O3 -DNDEBUG -D_GLIBCXX_USE_CXX11_ABI=0")
|
||||
set(CMAKE_C_FLAG_RELEASE "-O3 -DNDEBUG")
|
||||
set(CMAKE_CXX_FLAG_DEBUG "-Og -D_GLIBCXX_USE_CXX11_ABI=0")
|
||||
set(CMAKE_C_FLAG_DEBUG "-Og")
|
||||
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_GLIBCXX_USE_CXX11_ABI=0")
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG")
|
||||
set(CMAKE_C_FLAGS_RELEASE "-O3 -DNDEBUG")
|
||||
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
|
||||
set(warnings "/W4 /WX /EHsc")
|
||||
endif()
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit bab66d1744221fdce7d0634c08c5c21184539d2a
|
||||
Subproject commit b50df83ebfbf06299613a973552856954ed383c1
|
Loading…
Reference in New Issue