vcpkg/ports/shogun/remove_cmake_flags.patch
Alexander Neumann 0bc3f04da6
[blas/lapack] force vendor (#24327)
Co-authored-by: Alexander Neumann <you@example.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2024-04-08 11:15:54 -07:00

24 lines
858 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 94c8389f96..d4d533301a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -192,12 +192,12 @@ IF(MSVC)
# SET(CMAKE_CXX_FLAGS_DEBUG "/DEBUG /Od /Zi")
add_compile_options("/bigobj")
ELSE()
- SET(CMAKE_C_FLAGS_RELEASE "-O3 ${RELEASE_COMPILER_FLAGS}")
- SET(CMAKE_CXX_FLAGS_RELEASE "-O3 ${RELEASE_COMPILER_FLAGS}")
- SET(CMAKE_C_FLAGS_DISTRIBUTION "-O2")
- SET(CMAKE_CXX_FLAGS_DISTRIBUTION "-O2")
- SET(CMAKE_C_FLAGS_DEBUG "-g")
- SET(CMAKE_CXX_FLAGS_DEBUG "-g")
+ #SET(CMAKE_C_FLAGS_RELEASE "-O3 ${RELEASE_COMPILER_FLAGS}")
+ #SET(CMAKE_CXX_FLAGS_RELEASE "-O3 ${RELEASE_COMPILER_FLAGS}")
+ #SET(CMAKE_C_FLAGS_DISTRIBUTION "-O2")
+ #SET(CMAKE_CXX_FLAGS_DISTRIBUTION "-O2")
+ #SET(CMAKE_C_FLAGS_DEBUG "-g")
+ #SET(CMAKE_CXX_FLAGS_DEBUG "-g")
ENDIF()
OPTION(ENABLE_COVERAGE "Enable code coverage" OFF)