Hello,<br><br>I'm am trying the SunStudio compiler on linux. Due to an issue with their linker, I need to pass an option to use the default system linker. How do I tell cmake to use the Qpath option below for both trycompile and my project.<br>
<br>CC -Qpath /usr/bin<br><br>Thanks,<br><br>Juan<br><br> Linking CXX executable cmTryCompileExec<br><br> cmake/cmake-2.6.3/bin/cmake -E cmake_link_script<br> CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1<br><br>
sunstudio/sunstudio12/bin/CC -KPIC<br> CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -o cmTryCompileExec<br><br> /usr/lib64/libm.so: file not recognized: File format not recognized<br><br><br>