From 5fadafd9448a9106e38965fba67c56d707f6d461 Mon Sep 17 00:00:00 2001 From: Cary Xu Date: Wed, 14 Jun 2023 22:45:13 +0800 Subject: [PATCH] Update CMakeLists.txt --- contrib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt index 7ec55e2b4f..bef5033874 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( -- GitLab