hi all,

i'm trying to use the iOS.cmake toolchain file from [1]. it works fine
with cmake-2.8.12.2, but fails with cmake-3.0 (today's master), which
gives me:

------>8-------
CMake Error at CMakeLists.txt:16 (project):
  The CMAKE_C_COMPILER:

    gcc

  is not a full path and was not found in the PATH.



CMake Error at CMakeLists.txt:16 (project):
  The CMAKE_CXX_COMPILER:

    g++

  is not a full path and was not found in the PATH.
------>8-------

the toolchain file uses the CMAKE_FORCE_C_COMPILER macro to set the
compiler:

------>8-------
include (CMakeForceCompiler)
CMAKE_FORCE_C_COMPILER (gcc gcc)
CMAKE_FORCE_CXX_COMPILER (g++ g++)
------>8-------


* is this a problem with cmake or with the toolchain file?
* any suggestion for a workaround?

thanks a lot,
tim


[1] https://code.google.com/p/ios-cmake/source/browse/toolchain/iOS.cmake

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to