Zitat von Mats Kindahl <[email protected]>:
I have an example case where I want to decide the subsystems to include
dynamically. However, when running CMake, I get the error above.

Anybody can tell me why I get the error and what to do about it?

You could give your files a file ending like 'output.c' instead of just 'output'. Or, if that is the normal file naming, set the LANGUAGE file property and the LINKER_LANGUAGE target property.

You have an additional problem: you use target 'io' before it is defined. If the io library is not installed, yet, this will fail.

HS


_______________________________________________
Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to