[cmake-developers] CMake can not determine linker language for target:testTarget

Brad King brad.king at kitware.com
Thu May 16 15:49:28 EDT 2013


On 05/16/2013 03:39 PM, Stephen Kelly wrote:
> Thanks! I see now that the CMakeLists has:
> 
>  project(${RunCMake_TEST} NONE)
> 
> but now I wonder why the ImportedTarget.cmake test works without errors. I 
> guess the error it is testing for occurs before the link language error 
> occurs?

Yes, I think so.  Please update that case to enable_language()
also because we want to ensure that the error occurs in a test
case representing a real project.

Thanks,
-Brad



More information about the cmake-developers mailing list