Hi,<br><br>I am trying to build a library with cmake using QT4 tools (moc, wrap) using a master cmake script and lib/project related subscript. The thing is that I have a build error then the one of the library (the one that uses QT4) tries to link. Here&#39;s the log:
<br><br>Linking CXX static library /Users/fcmorency/Documents/foo/lib/libPETHardwareHandlers.a
<br>Error processing file:CMakeFiles/PETHardwareHandlers.dir/cmake_clean_target.cmake
<br>Error opening link script &quot;CMakeFiles/PETHardwareHandlers.dir/link.txt&quot;
<br>make[2]: *** [/Users/fcmorency/Documents/foo/lib/libPETHardwareHandlers.a] Error 1
<br>make[1]: *** [Librairies/Branches/Lib_cmake/PETHardwareHandlers/CMakeFiles/PETHardwareHandlers.dir/all] Error 2
<br>make: *** [all] Error 2<br><br>Also, If I place myself in the &quot;Librairies/Branches/Lib_cmake/PETHardwareHandlers/&quot; directory and run the linking command myself, which would be &quot;cmake -E cmake_link_script CMakeFiles/PETHardwareHandlers.dir/link.txt&quot;, it does link well and build the lib.
<br><br>Any hints ?<br><br>Regards, <br>FĂ©lix C. Morency<br>