From 036684204e01a28bd8056a8c63c91948f3c39006 Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Sun, 21 May 2023 17:07:31 +0200 Subject: Github Actions Windows builds with tests (#472) * Set CMake CMP0074 policy * Attempt to use pre-compiled OpenBLAS on Windows CI * Fix an issue and add some debugging * Improve FindCBLAS for OpenBLAS on Windows --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 169e6852..8e60bf22 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,6 +26,9 @@ set(clblast_VERSION_PATCH 3) set(clblast_VERSION "${clblast_VERSION_MAJOR}.${clblast_VERSION_MINOR}.${clblast_VERSION_PATCH}") set(clblast_SOVERSION ${clblast_VERSION_MAJOR}) +# Policies +cmake_policy(SET CMP0074 NEW) # to make -DCBLAS_ROOT= work with newer CMake versions as well + # Options and their default values option(BUILD_SHARED_LIBS "Build a shared (ON) or static library (OFF)" ON) option(SAMPLES "Enable compilation of the examples" OFF) -- cgit v1.2.3