Browse Source

Fixed typo in CMakeList.txt

Eyck Jentzsch 1 year ago
parent
commit
282ff6964b
2 changed files with 4 additions and 5 deletions
  1. 3
    4
      CMakeLists.txt
  2. 1
    1
      sc-components

+ 3
- 4
CMakeLists.txt View File

@@ -32,10 +32,9 @@ endif()
32 32
 
33 33
 if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
34 34
     set(warnings "-Wall -Wextra -Werror")
35
-    set(CMAKE_CXX_FLAG_RELEASE "-O3 -DNDEBUG -D_GLIBCXX_USE_CXX11_ABI=0")
36
-    set(CMAKE_C_FLAG_RELEASE "-O3 -DNDEBUG")
37
-    set(CMAKE_CXX_FLAG_DEBUG "-Og -D_GLIBCXX_USE_CXX11_ABI=0")
38
-    set(CMAKE_C_FLAG_DEBUG "-Og")
35
+    #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_GLIBCXX_USE_CXX11_ABI=0")
36
+    set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG")
37
+    set(CMAKE_C_FLAGS_RELEASE "-O3 -DNDEBUG")
39 38
 elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
40 39
     set(warnings "/W4 /WX /EHsc")
41 40
 endif()

+ 1
- 1
sc-components

@@ -1 +1 @@
1
-Subproject commit bab66d1744221fdce7d0634c08c5c21184539d2a
1
+Subproject commit b50df83ebfbf06299613a973552856954ed383c1