Skip to content

Commit

Permalink
append cmake flags
Browse files Browse the repository at this point in the history
  • Loading branch information
neferin12 committed Nov 7, 2023
1 parent a5aeb1c commit c26f2b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions c/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif()

set(CMAKE_C_FLAGS "-Wall -Wextra -Wno-missing-braces -DLOG_USE_COLOR")
set(CMAKE_C_FLAGS_DEBUG "-g")
set(CMAKE_C_FLAGS_RELEASE "-O3")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-missing-braces -DLOG_USE_COLOR")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g")
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O3")

option(INSTALL_LIB "Install the ism library" ON)
option(INSTALL_EXEC "Install the cism executable" ON)
Expand Down

0 comments on commit c26f2b0

Please sign in to comment.