cmake: fix coinor patch

This commit is contained in:
Corentin Le Molgat
2024-10-11 13:06:18 +02:00
parent 9c542ed12c
commit e42e58b962
5 changed files with 15 additions and 15 deletions

View File

@@ -1,12 +1,12 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6aa8dca..2fba8d5 100644
index be94fca..1529011 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -42,6 +42,7 @@ if(APPLE)
@@ -88,6 +88,7 @@ if(APPLE)
CMAKE_CXX_FLAGS
"${CMAKE_CXX_FLAGS} -Wno-inconsistent-missing-override -Wno-unused-command-line-argument -Wno-unused-result -Wno-exceptions"
)
+ add_compile_options(-O1)
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum OS X deployment version")
endif(APPLE)
endif()

View File

@@ -1,12 +1,12 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7beea06..c0dfe10 100644
index 8c51561..f223f08 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -42,6 +42,7 @@ if(APPLE)
@@ -88,6 +88,7 @@ if(APPLE)
CMAKE_CXX_FLAGS
"${CMAKE_CXX_FLAGS} -Wno-inconsistent-missing-override -Wno-unused-command-line-argument -Wno-unused-result -Wno-exceptions"
)
+ add_compile_options(-O1)
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum OS X deployment version")
endif(APPLE)
endif()

View File

@@ -1,12 +1,12 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a029303..ecafdb3 100644
index bb95c63..7fde473 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -42,6 +42,7 @@ if(APPLE)
@@ -88,6 +88,7 @@ if(APPLE)
CMAKE_CXX_FLAGS
"${CMAKE_CXX_FLAGS} -Wno-inconsistent-missing-override -Wno-unused-command-line-argument -Wno-unused-result -Wno-exceptions"
)
+ add_compile_options(-O1)
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum OS X deployment version")
endif(APPLE)
endif()

View File

@@ -1,12 +1,12 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cbd1e7f..458653f 100644
index 3fc9cff..b2423fe 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -42,6 +42,7 @@ if(APPLE)
@@ -88,6 +88,7 @@ if(APPLE)
CMAKE_CXX_FLAGS
"${CMAKE_CXX_FLAGS} -Wno-inconsistent-missing-override -Wno-unused-command-line-argument -Wno-unused-result -Wno-exceptions"
)
+ add_compile_options(-O1)
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum OS X deployment version")
endif(APPLE)
endif()

View File

@@ -1,12 +1,12 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 273d523..40853ac 100644
index bc22fbd..1c2a604 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -42,6 +42,7 @@ if(APPLE)
@@ -88,6 +88,7 @@ if(APPLE)
CMAKE_CXX_FLAGS
"${CMAKE_CXX_FLAGS} -Wno-inconsistent-missing-override -Wno-unused-command-line-argument -Wno-unused-result -Wno-exceptions"
)
+ add_compile_options(-O1)
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum OS X deployment version")
endif(APPLE)
endif()