[Bug 589] New: cmake compile error

For more infomation about this bug, visit
Summary: cmake compile error
Product: BFL
Version: trunk
Platform: i386 Compatible
OS/Version: GNU/Linux
Status: NEW
Severity: critical
Priority: P1
Component: build system
AssignedTo: bfl [..] ...
ReportedBy: nschmitz [..] ...
CC: bfl [..] ...
Estimated Hours: 0.0

When configuring revision 29621. With cmake 2.4 and 2.6 the error occurs:

CMake Error: Error in cmake code at
/home/nagilo/software/bfl/src/CMakeLists.txt:4:
Unknown CMake command "GLOBAL_ADD_INCLUDE".

Yours
Norbert Schmitz

[Bug 589] cmake compile error

For more infomation about this bug, visit

Norbert Schmitz <nschmitz [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID

--- Comment #2 from Norbert Schmitz <nschmitz [..] ...> 2008-10-10 08:06:45 ---
The compilation error occured with an incorrect installation of cmake on debian
sid. After updating cmake installation and cleaning target no errprs occured.

So I marked the bug as invalid.

[Bug 589] cmake compile error

For more infomation about this bug, visit

--- Comment #1 from Klaas Gadeyne <klaas [dot] gadeyne [..] ...> 2008-09-26 10:19:03 ---
(In reply to comment #0)
> When configuring revision 29621. With cmake 2.4 and 2.6 the error occurs:
>
>
> CMake Error: Error in cmake code at
> /home/nagilo/software/bfl/src/CMakeLists.txt:4:
> Unknown CMake command "GLOBAL_ADD_INCLUDE".

Can't reproduce this one on a clean checkout of 29621
GLOBAL_ADD_INCLUDE is defined in /config/bfl_macros.cmake and included in the
toplevel CMakeLists file

[kgad@ampere /tmp/bfl]$
grep bfl_macros *
CMakeLists.txt:INCLUDE (${PROJ_SOURCE_DIR}/config/bfl_macros.cmake)

Can you confirm you run a clean checkout of that version, and if so, detail the
steps you performed before running into this error?