Commit 7fc2446b authored by Ghislain MARY's avatar Ghislain MARY

Do not force compiler for bb10.

parent f29481e7
......@@ -81,8 +81,6 @@ set(TOOLCHAIN_AS "${CMAKE_CURRENT_BINARY_DIR}/${TOOLCHAIN_HOST}-as")
set(QNX True)
include(CMakeForceCompiler)
set(CMAKE_CROSSCOMPILING TRUE)
# Define name of the target system
......@@ -90,8 +88,8 @@ set(CMAKE_SYSTEM_NAME QNX)
set(CMAKE_SYSTEM_PROCESSOR ${SYSTEM_PROCESSOR})
# Define the compiler
CMAKE_FORCE_C_COMPILER(${TOOLCHAIN_CC} GNU)
CMAKE_FORCE_CXX_COMPILER(${TOOLCHAIN_CXX} GNU)
set(CMAKE_C_COMPILER "${TOOLCHAIN_CC}")
set(CMAKE_CXX_COMPILER "${TOOLCHAIN_CXX}")
set(CMAKE_FIND_ROOT_PATH ${CMAKE_INSTALL_PREFIX} ${QNX_TARGET} ${QNX_TARGET}/${ROOT_PATH_SUFFIX})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment