Package: cmake
Version: 2.8.2-2
Severity: normal

*** Please type your report below this line ***
CMake is unable to parse CMakeLists.txt in UTF-8 with Byte Order Mark
encoding.

An example:

CMakeLists.txt contents:
=============================
cmake_minimum_required(VERSION 2.6.0 FATAL_ERROR)

project(az)
set(VERSION_STRING "0.0")

include(ProcessAROCCAMProject)
add_aroccam_project(${PROJECT_SOURCE_DIR}/az.awp)

include_directories(src/${PROJECT_NAME})
file(GLOB_RECURSE project_sources 
${PROJECT_SOURCE_DIR}/src/${PROJECT_NAME}/*.cpp)
set(src_files ${project_sources} ${init_source_file})

find_package(Aroccam REQUIRED camera timer xlib_qtviewer)
include(AroccamApplication)

target_link_libraries(${TARGET})
=============================

On the command line:
vadim(EFF-C001):~/Sources/qs$ file CMakeLists.txt 
CMakeLists.txt: UTF-8 Unicode (with BOM) text
vadim(EFF-C001):~/Sources/qs$ cd build
vadim(EFF-C001):~/Sources/qs/build$ cmake ..
CMake Error: Error in cmake code at
/home/vadim/Sources/qs/CMakeLists.txt:1:
Parse error. Expected a command name, got unquoted argument with text 
"cmake_minimum_required".
-- Configuring incomplete, errors occurred!

-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32 (PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cmake depends on:
ii cmake-data 2.8.2-2 CMake data files (modules, templat
ii libarchive1 2.8.4-1 Single library to read/write tar, 
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libcurl3-gnutls 7.21.0-1 Multi-protocol file transfer libra
ii libexpat1 2.0.1-7 XML parsing C library - runtime li
ii libgcc1 1:4.4.4-8 GCC support library
ii libstdc++6 4.4.4-8 The GNU Standard C++ Library v3
ii libxmlrpc-c3 1.06.27-1.1 A lightweight RPC library based on
ii procps 1:3.2.8-9 /proc file system utilities
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime

cmake recommends no packages.

Versions of packages cmake suggests:
ii gcc 4:4.4.4-2 The GNU C compiler
ii make 3.81-8 An utility for Directing compilati

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to