gentoo-overlay/sci-ml/oneDNN/files/oneDNN-3.6.2-cmake.patch

33 lines
1.2 KiB
Diff

--- a/CMakeLists.txt 2025-04-08 22:04:35.298750813 +0200
+++ b/CMakeLists.txt 2025-04-08 22:04:47.430599644 +0200
@@ -14,7 +14,7 @@
# limitations under the License.
#===============================================================================
-cmake_minimum_required(VERSION 2.8.12)
+cmake_minimum_required(VERSION 3.5)
if(POLICY CMP0022)
cmake_policy(SET CMP0022 NEW)
--- a/tests/other/subproject/CMakeLists.txt 2025-06-17 22:07:30.945429962 +0200
+++ b/tests/other/subproject/CMakeLists.txt 2025-06-17 22:07:45.914268746 +0200
@@ -20,7 +20,7 @@
# To test run:
# mkdir -p build && cd build && cmake .. && make -j && ./project_app
-cmake_minimum_required(VERSION 2.8.12)
+cmake_minimum_required(VERSION 3.5)
set(PROJECT_NAME "Project")
--- a/examples/CMakeLists.txt.in 2025-06-17 22:08:08.118029611 +0200
+++ b/examples/CMakeLists.txt.in 2025-06-17 22:08:22.668872895 +0200
@@ -14,7 +14,7 @@
# limitations under the License.
#===============================================================================
-cmake_minimum_required(VERSION 2.8.12)
+cmake_minimum_required(VERSION 3.5)
if("${CMAKE_BUILD_TYPE}" STREQUAL "")
message(STATUS "CMAKE_BUILD_TYPE is unset, defaulting to Release")