From 4c4967922116a65ec12e9dbb85fc9c0d7cf0906e Mon Sep 17 00:00:00 2001 From: Aldas Nabazas Date: Fri, 17 Apr 2009 19:47:12 +0300 Subject: [PATCH] cmake: accept config options --- develop/cmake/cmake-conf.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/develop/cmake/cmake-conf.in b/develop/cmake/cmake-conf.in index 63865b457..11e26b54f 100644 --- a/develop/cmake/cmake-conf.in +++ b/develop/cmake/cmake-conf.in @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../cmake/cmake-conf.in -# Copyright (C) 2008 The OpenSDE Project +# Copyright (C) 2008 - 2009 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -12,4 +12,4 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -hook_add preconf 5 'mkdir build; cd build; cmake -DCMAKE_INSTALL_PREFIX=/$prefix -DCMAKE_LIBRARY_PATH=$libdir ..' +hook_add preconf 5 'mkdir build; cd build; cmake $confopt $extraconfopt -DCMAKE_INSTALL_PREFIX=/$prefix -DCMAKE_LIBRARY_PATH=$libdir ..'