]> git.pld-linux.org Git - packages/CGAL.git/commitdiff
leave comment why CMAKE_BUILD_TYPE override is neccessary
authorElan Ruusamäe <glen@delfi.ee>
Thu, 30 Apr 2015 13:53:24 +0000 (16:53 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 30 Apr 2015 13:53:24 +0000 (16:53 +0300)
CGAL.spec

index 3020b7557058b4f3b1ac60701617b95f425e63d8..62ab570413428ebff15c013bcf2ef06686fd671b 100644 (file)
--- a/CGAL.spec
+++ b/CGAL.spec
@@ -61,8 +61,12 @@ demos of CGAL algorithms.
 %build
 install -d build
 cd build
 %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 \
 %cmake \
+       -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
        -DCGAL_INSTALL_LIB_DIR=%{_lib} \
        -DCGAL_INSTALL_DOC_DIR= ${CHANGE_SOVERSION} \
        ..
        -DCGAL_INSTALL_LIB_DIR=%{_lib} \
        -DCGAL_INSTALL_DOC_DIR= ${CHANGE_SOVERSION} \
        ..
This page took 0.211699 seconds and 4 git commands to generate.