diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt index 7ec55e2b4f9668c8ee78c9e4c7e61569cb08276f..bef5033874e12fa024d190706f89e31da3598abe 100644 --- a/contrib/CMakeLists.txt +++ b/contrib/CMakeLists.txt @@ -489,8 +489,8 @@ if(${BUILD_GEOS}) if(${TD_LINUX}) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS_REL}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_REL}") + set(CMAKE_BUILD_TYPE Release) endif(${TD_LINUX}) - set(CMAKE_BUILD_TYPE Release) option(BUILD_SHARED_LIBS "Build GEOS with shared libraries" OFF) add_subdirectory(geos EXCLUDE_FROM_ALL) target_include_directories(