Zitat von Vladimir Lebedev-Schmidthof <[email protected]>:
I tried having toochain.cmake file in the same dir as CMakeLists.txt

using
cmake -DCMAKE_TOOLCHAIN_FILE=./toolchain.cmake .

does not seem to even read that file. I tried to state full path, move
the file away, no luck.

Since you are doing an in-source build: did you make sure prior to issuing the above command that you cleaned the source directory from all cmake-generated files from previous runs (especially removing any CMakeCache.txt files)?

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