]> git.pld-linux.org Git - packages/CGAL.git/blame - CGAL-buildtype.patch
- updated to 4.14.3
[packages/CGAL.git] / CGAL-buildtype.patch
CommitLineData
349ab5d6
JB
1--- releases-CGAL-4.14.2/cmake/modules/CGAL_SetupFlags.cmake.orig 2023-09-10 21:58:21.976590136 +0200
2+++ releases-CGAL-4.14.2/cmake/modules/CGAL_SetupFlags.cmake 2023-09-11 16:39:23.261285489 +0200
3@@ -57,11 +57,6 @@ if ( NOT CMAKE_BUILD_TYPE )
4 endif()
68d6bebe
JP
5 endif()
6
349ab5d6
JB
7-if ( NOT "${CMAKE_BUILD_TYPE}" STREQUAL "Release" AND NOT "${CMAKE_BUILD_TYPE}" STREQUAL "Debug"
8- AND NOT "${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo" AND NOT "${CMAKE_BUILD_TYPE}" STREQUAL "MinSizeRel" )
9- message( FATAL_ERROR "${CMAKE_BUILD_TYPE} is not a valid build type: only Release, Debug, RelWithDebInfo or MinSizeRel is allowed" )
68d6bebe
JP
10-endif()
11-
12 message( STATUS "Build type: ${CMAKE_BUILD_TYPE}" )
13
14 string( TOUPPER "${CMAKE_BUILD_TYPE}" CGAL_BUILD_TYPE_UPPER )
This page took 0.234866 seconds and 5 git commands to generate.