[CMake] TARGET_SUPPORTS_SHARED_LIBS not set

Bill Hoffman bill.hoffman at kitware.com
Tue Sep 11 14:05:23 EDT 2012


On 9/11/2012 1:48 PM, Nico Schlömer wrote:
> IF(${CMAKE_C_COMPILER} NOT STREQUAL ${Foobar_C_COMPILER})
>
> ?

message(FATAL_ERROR "your compilers are incompatible.  Re-run cmake on 
this project and set the environment variables CC and CXX to ... so that 
they match the ones used by package foobar")

-Bill


-- 
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573


More information about the CMake mailing list