cmake: fix coinor patch
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user