[Lunar-commits] <moonbase> cdrkit: fixed tons of annoying warnings

Dennis Veatch dennisveatch at bellsouth.net
Wed May 11 14:21:34 CEST 2011


On Wednesday, May 11, 2011 6:35:58 AM Christian Krause wrote:
> commit ff4be8830aba30e29813d147b3d9e28e3b5944c1
> Author: Christian Krause <wookietreiber at lunar-linux.org>
> Date:   Wed May 11 12:35:58 2011 +0200
> 
>     cdrkit: fixed tons of annoying warnings
> ---
>  zbeta/cdrkit/BUILD |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)
> 
> diff --git a/zbeta/cdrkit/BUILD b/zbeta/cdrkit/BUILD
> index aacfbc4..56c3241 100644
> --- a/zbeta/cdrkit/BUILD
> +++ b/zbeta/cdrkit/BUILD
> @@ -2,6 +2,13 @@
> 
>    export PREFIX=/usr &&
> 
> +  # this will save us from a lot of annoying warnings
> +  # (actually should have been cared of by cdrkit-devs)
> +  for file in `find -type f -name CMakeLists.txt` ; do
> +    echo "cmake_minimum_required(VERSION 2.8)" >> $file
> +    echo "cmake_policy(SET CMP0015 NEW)" >> $file
> +  done &&
> +
>    default_make
> 
>  ) > $C_FIFO 2>&1
> _______________________________________________

I think this would make more sense for the BUILD and note the -Wno-dev hides 
the warnings; also every thing is installed in /usr.

  cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
        -DCMAKE_BUILD_TYPE=RELEASE             \
        $OPTS . -Wno-dev                      &&

  default_make

-- 
Dennis


More information about the Lunar-dev mailing list