2 "Do not include the CMakeForceCompiler module. "
3 "It is no longer necessary. "
4 "Update your toolchain file as follows.
6 Use of the CMAKE_FORCE_SYSTEM macro:
8 CMAKE_FORCE_SYSTEM(\"<name>\" \"<version>\" \"<processor>\")
10 may be replaced by just
12 SET(CMAKE_SYSTEM_NAME \"<name>\")
13 SET(CMAKE_SYSTEM_VERSION \"<version>\")
14 SET(CMAKE_SYSTEM_PROCESSOR \"<processor>\")
16 Use of the CMAKE_FORCE_C_COMPILER and CMAKE_FORCE_CXX_COMPILER macros:
18 CMAKE_FORCE_C_COMPILER (/path/to/cc <id> <sizeof_void_p>)
19 CMAKE_FORCE_CXX_COMPILER (/path/to/CC <id>)
21 may be replaced by just
23 SET(CMAKE_C_COMPILER /path/to/cc)
24 SET(CMAKE_CXX_COMPILER /path/to/CC)
26 CMake will automatically detect known compiler IDs and sizeof(void*).