Unverified Commit 95cabf51 authored by Kelvin Rodriguez's avatar Kelvin Rodriguez Committed by GitHub
Browse files

hushed Geos Warning (#3622)

* hushed Geos Warning

* moved flag location

* defined unstable API flag for Geos
parent c40082af
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -163,6 +163,7 @@ set(thirdPartyCppFlags -Wall
                       -Wno-unused-parameter
                       -Wno-overloaded-virtual
                       -Wno-strict-aliasing
                       -DUSE_UNSTABLE_GEOS_CPP_API=1
		               -Wno-strict-overflow
                       -DGMM_USES_SUPERLU
                       -DENABLEJP2K=${JP2KFLAG}
@@ -170,6 +171,7 @@ set(thirdPartyCppFlags -Wall

 # Append CPP flags set in the third party lib file to the string set in this file.
 string(REPLACE ";" " " FLAGS_STR "${thirdPartyCppFlags}")

 set(CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} ${FLAGS_STR}" )