]> git.pld-linux.org Git - packages/CGAL.git/blame - CGAL-buildtype.patch
- up to 4.9
[packages/CGAL.git] / CGAL-buildtype.patch
CommitLineData
68d6bebe
JP
1--- releases-CGAL-4.7/cmake/modules/CGAL_SetupFlags.cmake.orig 2015-10-20 09:06:23.000000000 +0200
2+++ releases-CGAL-4.7/cmake/modules/CGAL_SetupFlags.cmake 2021-08-10 13:26:55.346479677 +0200
3@@ -61,10 +61,6 @@
4 add_definitions(-DCGAL_TEST_SUITE)
5 endif()
6
7-if ( NOT "${CMAKE_BUILD_TYPE}" STREQUAL "Release" AND NOT "${CMAKE_BUILD_TYPE}" STREQUAL "Debug" )
8- message( FATAL_ERROR "${CMAKE_BUILD_TYPE} is not a valid build type: only Release or Debug is allowed" )
9-endif()
10-
11 message( STATUS "Build type: ${CMAKE_BUILD_TYPE}" )
12
13 string( TOUPPER "${CMAKE_BUILD_TYPE}" CGAL_BUILD_TYPE_UPPER )
This page took 0.105212 seconds and 4 git commands to generate.