From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Cmake build system and build directories Date: Mon, 25 Nov 2013 23:22:01 +0100 Message-ID: <20131125222201.GA14911@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vl4Xk-0004L2-Oy for guix-devel@gnu.org; Mon, 25 Nov 2013 17:22:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vl4Xd-0007U0-GD for guix-devel@gnu.org; Mon, 25 Nov 2013 17:22:12 -0500 Received: from moutng.kundenserver.de ([212.227.126.171]:56177) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vl4Xd-0007Tv-78 for guix-devel@gnu.org; Mon, 25 Nov 2013 17:22:05 -0500 Content-Disposition: inline List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org Hello, my kdelibs package currently fails with the following message: CMake Error at cmake/modules/MacroEnsureOutOfSourceBuild.cmake:17 (MESSAGE): kdelibs requires an out of source build. Please create a separate build directory and run 'cmake path_to_kdelibs [options]' there. Call Stack (most recent call first): CMakeLists.txt:157 (macro_ensure_out_of_source_build) I think it is simply a matter of replacing in cmake-build-system.scm (configure) the call to cmake by mkdir build cd build cmake .. (appropriately guilified). What do you think, if this is a solution, should we maybe globally modify the cmake build system to always build in a separate directory? Andreas