Skip to content

Commit

Permalink
Merge pull request #163 from skalenetwork/feature/SKALE-4672-release-…
Browse files Browse the repository at this point in the history
…build-improvements

SKALE-4672 release mode build improvements
  • Loading branch information
sergiy-skalelabs authored Oct 25, 2021
2 parents 35ac049 + 7a32881 commit cfc2ad9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wunreachable-code -Wextra -Wno-error=int-in-bool-context -fPIC -std=c++17")
if( CMAKE_BUILD_TYPE STREQUAL "Debug" )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wparentheses -Wunused" )
else()
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=unused-variable -Wno-error=maybe-uninitialized" )
endif()
endif()
endif()
Expand Down

0 comments on commit cfc2ad9

Please sign in to comment.