From f7efb94b403b683c7c98bd9ba357b7ea09501b23 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 30 Apr 2015 16:53:24 +0300 Subject: [PATCH] leave comment why CMAKE_BUILD_TYPE override is neccessary --- CGAL.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CGAL.spec b/CGAL.spec index 3020b75..62ab570 100644 --- a/CGAL.spec +++ b/CGAL.spec @@ -61,8 +61,12 @@ demos of CGAL algorithms. %build install -d build cd build -# what is ${CHANGE_SOVERSION} here? +# override build type, because: +# PLD is not a valid build type: only Release or Debug is allowed + +# XXX: what is ${CHANGE_SOVERSION} here? %cmake \ + -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \ -DCGAL_INSTALL_LIB_DIR=%{_lib} \ -DCGAL_INSTALL_DOC_DIR= ${CHANGE_SOVERSION} \ .. -- 2.43.0