Browse Source

cmake: changed to disable to build ccmake at toolchain stage

user/chris/next/0.4
Christian Wiese 12 years ago committed by Christian Wiese
parent
commit
fbf320af95
  1. 14
      develop/cmake/cmake.conf

14
develop/cmake/cmake.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../cmake/cmake.conf
# Copyright (C) 2009 - 2011 The OpenSDE Project
# Copyright (C) 2009 - 2012 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -19,6 +19,18 @@ cleanconfopt=0
cmake_preconf() {
mkdir build
cd build
# tweaks when bootstraping cmake in toolchain stage
if atstage toolchain; then
var_append confopt ' ' "--init=build-flags.cmake"
# disable to build ccmake (curses gui) because of linking
# issues when ncurses was configured to build a standalone
# libtinfo.
# besides that there is no need for an interactive gui at
# toolchain stage anyway
echo 'SET(BUILD_CursesDialog FALSE CACHE BOOL "" FORCE)' >> build-flags.cmake
fi
}
hook_add preconf 9 'cmake_preconf'

Loading…
Cancel
Save