Skip to content
Snippets Groups Projects
Commit c3837044 authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

Ajout option -w pour option de compil pour C : CMAKE_C_FLAGS.

Car Emmanuel a encore des warnings sur sa machine !
parent 31cd5084
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ IF(CMAKE_COMPILER_IS_GNUCXX)
ENDIF("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.4)
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
IF(CMAKE_COMPILER_IS_GNUC)
IF(CMAKE_COMPILER_IS_GNUCC)
# Hide warnings in ossim code.
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w")
......@@ -43,7 +43,7 @@ IF(CMAKE_COMPILER_IS_GNUC)
ENDFOREACH(c)
ENDIF("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.4)
ENDIF(CMAKE_COMPILER_IS_GNUC)
ENDIF(CMAKE_COMPILER_IS_GNUCC)
ADD_LIBRARY(otbossimKBool ${ossim_kbool_SRCS})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment