From 24b39a8af6f2ea67fd05384c0b88c4ccdcfa1231 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 16 Oct 2024 15:21:39 +0200 Subject: [PATCH] Update CMakeLists.txt --- ctest/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ctest/CMakeLists.txt b/ctest/CMakeLists.txt index c56a78346..8f47097ab 100644 --- a/ctest/CMakeLists.txt +++ b/ctest/CMakeLists.txt @@ -11,6 +11,9 @@ if (CMAKE_Fortran_COMPILER_ID STREQUAL GNU) endif() if(WIN32) +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0") +set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -O0") + FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/test_cblas_helper.ps1 "$ErrorActionPreference = \"Stop\"\n" "Get-Content $args[1] | & $args[0]\n"