Re: [CMake] doing simple math in cmake or useless foreach( RANGE )

2009-05-19 Thread Mats Kindahl
h(index RANGE ${COUNT}) but I also think that foreach() should assign integers in the range 0..${COUNT}-1 instead of 0..${COUNT}. Just my few cents, Mats Kindahl > > HS > > ___ > Powered by www.kitware.com > > Visit other Kitwar

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

2009-05-19 Thread Mats Kindahl
Hendrik Sattler wrote: > Zitat von Mats Kindahl : >>>> 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/" >>>&

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

2009-05-19 Thread Mats Kindahl
Hendrik Sattler wrote: > Zitat von Mats Kindahl : >> Hendrik Sattler wrote: >>> Zitat von Mats Kindahl : >>>> I have an example case where I want to decide the subsystems to include >>>> dynamically. However, when running CMake, I get the error above. &

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 : >> 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 er

[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