Skip to content

Commit

Permalink
* [conf]: remove cmake warning by increasing CMAKE_MINIMUM_REQUIRED
Browse files Browse the repository at this point in the history
stop indentation warnings
  • Loading branch information
beku committed Aug 22, 2022
1 parent 106cd16 commit 7d03ea0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CMAKE_MINIMUM_REQUIRED (VERSION 2.6)
CMAKE_MINIMUM_REQUIRED (VERSION 2.8.12)

PROJECT (icc-examin)

Expand Down Expand Up @@ -32,7 +32,7 @@ ENDIF (NOT CMAKE_BUILD_TYPE)
IF("${CMAKE_CXX_COMPILER_ID}" MATCHES "(GNU|Clang)")
MESSAGE( "-- Found Compiler GNU|Clang: ${CMAKE_CXX_COMPILER_ID}" )
SET( CMAKE_C_FLAGS "-Wmisleading-indentation -Wempty-body" )
SET( CMAKE_CXX_FLAGS "-Wmisleading-indentation -Wunused-parameter -Wempty-body" )
SET( CMAKE_CXX_FLAGS "-Wunused-parameter -Wempty-body" )
ENDIF()

# some basic and important variables
Expand Down

0 comments on commit 7d03ea0

Please sign in to comment.