SHA256
1
0
forked from pool/apfel
apfel/apfel-dont-set-default-reltype.patch
Atri Bhattacharya 7debd70c0f Accepting request 1135488 from home:badshah400:branches:science
- Update to version 3.1.1.
- Drop apfel-fix-project-version.patch: incorporated upstream.
- Rebase apfel-dont-set-default-reltype.patch for update.

OBS-URL: https://build.opensuse.org/request/show/1135488
OBS-URL: https://build.opensuse.org/package/show/science/apfel?expand=0&rev=39
2024-01-02 06:09:53 +00:00

21 lines
877 B
Diff

Index: apfel-3.1.1/CMakeLists.txt
===================================================================
--- apfel-3.1.1.orig/CMakeLists.txt
+++ apfel-3.1.1/CMakeLists.txt
@@ -14,7 +14,6 @@ SET(APFEL_VERSION_MAJOR 3)
SET(APFEL_VERSION_MINOR 1)
SET(APFEL_VERSION_PATCH 1)
add_compile_definitions(APFEL_VERSION=${apfel_VERSION})
-set(CMAKE_VERBOSE_MAKEFILE OFF)
include("GNUInstallDirs")
option(APFEL_ENABLE_PYTHON "Enables building of python bindings" ON)
@@ -22,7 +21,6 @@ option(APFEL_ENABLE_TESTS "Enables
option(APFEL_ENABLE_LHAPDF "Enables LHAPDF" ON)
option(APFEL_DOWNLOAD_PDFS "Download LHAPDF sets" ON)
-set(CMAKE_BUILD_TYPE Release)
# Flags for GNU compilers ==============================================
add_compile_options("$<$<COMPILE_LANG_AND_ID:CXX,GNU>:-Wall>")
add_compile_options("$<$<COMPILE_LANG_AND_ID:CXX,GNU>:-Wextra>")