[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] CMAKE_CXX_COMPILER-NOTFOUND
From:       Thomas Christian Chust <chust () web ! de>
Date:       2007-03-31 18:03:35
Message-ID: 460EA277.40904 () web ! de
[Download RAW message or body]

Manfred Rebentisch wrote:

> [...]
> on my Debian-Backup-Server I dont need g++ but only gcc. How can I avoid the 
> following error:
> 
> -- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND
> CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   
> Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
> CMake Error: Internal CMake error, TryCompile configure of cmake failed
> [...]

Hello,

you can specify the languages needed by your project in the CMake
PROJECT command. Using PROJECT(some_name C) disables the checks for a
C++ compiler.

cu,
Thomas

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic