[CMake] CMake Error: Cannot determine link language for target

2011-02-15 Thread Kiran Gopal Patil
Hi , I do get this error while build a application using CMAKE. Please help me in resolving this one. I tried to use the SET_TARGET_PROPERTIES but not successful. I do have mix of C and C++ static libs in my project. -- Thanks Regards, Kiran Patil

Re: [CMake] CMake Error: Cannot determine link language for target

2011-02-15 Thread David Cole
Show us your code. On Tue, Feb 15, 2011 at 8:08 AM, Kiran Gopal Patil pati...@gmail.comwrote: Hi , I do get this error while build a application using CMAKE. Please help me in resolving this one. I tried to use the SET_TARGET_PROPERTIES but not successful. I do have mix of C and C++

[CMake] CMake Error: Cannot determine link language for target io.

2009-05-19 Thread Mats Kindahl
Hi all, 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? Best wishes, Mats Kindahl I have the following CMakeLists.txt files:

Re: [CMake] CMake Error: Cannot determine link language for target io.

2009-05-19 Thread Hendrik Sattler
Zitat von Mats Kindahl m...@sun.com: 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

Re: [CMake] CMake Error: Cannot determine link language for target io.

2009-05-19 Thread Mats Kindahl
Hi Hendrik, Thanks for the reply. Hendrik Sattler wrote: Zitat von Mats Kindahl m...@sun.com: 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

Re: [CMake] CMake Error: Cannot determine link language for target io.

2009-05-19 Thread Hendrik Sattler
Zitat von Mats Kindahl m...@sun.com: Hendrik Sattler wrote: Zitat von Mats Kindahl m...@sun.com: 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

Re: [CMake] CMake Error: Cannot determine link language for target io.

2009-05-19 Thread Mats Kindahl
Hendrik Sattler wrote: Zitat von Mats Kindahl m...@sun.com: Hendrik Sattler wrote: Zitat von Mats Kindahl m...@sun.com: 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

Re: [CMake] CMake Error: Cannot determine link language for target io.

2009-05-19 Thread Hendrik Sattler
Zitat von Mats Kindahl m...@sun.com: Ideally, I would like to copy or build the libraries in a central lib/ directory similar to how I copy all the include files to the include/ directory, but how is that supported by CMake? See

Re: [CMake] CMake Error: Cannot determine link language for target io.

2009-05-19 Thread Mats Kindahl
Hendrik Sattler wrote: Zitat von Mats Kindahl m...@sun.com: Ideally, I would like to copy or build the libraries in a central lib/ directory similar to how I copy all the include files to the include/ directory, but how is that supported by CMake? See