Hi,

On Sun, Jul 10, 2016 at 12:00:02PM -0400, cmake-requ...@cmake.org wrote:
> Message: 1
> Date: Sun, 10 Jul 2016 05:04:35 +0000
> From: Dvir Yitzchaki <dvir.yitzch...@ceva-dsp.com>
> To: "'cmake@cmake.org'" <cmake@cmake.org>
> Subject: [CMake] CMAKE_C++_CREATE_SHARED_LIBRARY missing
> Message-ID:
>       <71350f7ed6ebb54aa2d182b26086a1b60114ac5...@ilmail1.corp.local>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hi.
> 
> I use cmake 3.3.1 on Red-Hat 5 and 6.
> When I generate a project I get the following error:
> 
> CMake Error: Error required internal CMake variable not set, cmake may be not 
> be built correctly.
> Missing variable is:
> CMAKE_C++_CREATE_SHARED_LIBRARY
> 
> However, after the error the generation succeeds and I can build the project 
> successfully.
> The same project is generated without errors on Windows 7 with Visual Studio 
> generators and other projects are also generated without errors on the same 
> Linux machine.
> 
> Does anyone knows the source of that error?

Rimshot idea:

Quite possibly someone did a
    project(foo C C++)
rather than using the (IIRC - no docs here ATM) correct CXX.

HTH,

Andreas Mohr
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to