Commit 171a5902 authored by Ghislain MARY's avatar Ghislain MARY

Add intall prefix to the find root path for bb10 toolchain.

parent 2683189d
...@@ -64,7 +64,7 @@ set(CMAKE_SYSTEM_PROCESSOR arm) ...@@ -64,7 +64,7 @@ set(CMAKE_SYSTEM_PROCESSOR arm)
CMAKE_FORCE_C_COMPILER(${LINPHONE_BUILDER_TOOLCHAIN_CC} GNU) CMAKE_FORCE_C_COMPILER(${LINPHONE_BUILDER_TOOLCHAIN_CC} GNU)
CMAKE_FORCE_CXX_COMPILER(${LINPHONE_BUILDER_TOOLCHAIN_CXX} GNU) CMAKE_FORCE_CXX_COMPILER(${LINPHONE_BUILDER_TOOLCHAIN_CXX} GNU)
set(CMAKE_FIND_ROOT_PATH $ENV{QNX_TARGET}) set(CMAKE_FIND_ROOT_PATH $ENV{QNX_TARGET} ${CMAKE_INSTALL_PREFIX})
# search for programs in the build host directories # search for programs in the build host directories
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
......
...@@ -64,7 +64,7 @@ set(CMAKE_SYSTEM_PROCESSOR i486) ...@@ -64,7 +64,7 @@ set(CMAKE_SYSTEM_PROCESSOR i486)
CMAKE_FORCE_C_COMPILER(${LINPHONE_BUILDER_TOOLCHAIN_CC} GNU) CMAKE_FORCE_C_COMPILER(${LINPHONE_BUILDER_TOOLCHAIN_CC} GNU)
CMAKE_FORCE_CXX_COMPILER(${LINPHONE_BUILDER_TOOLCHAIN_CXX} GNU) CMAKE_FORCE_CXX_COMPILER(${LINPHONE_BUILDER_TOOLCHAIN_CXX} GNU)
set(CMAKE_FIND_ROOT_PATH $ENV{QNX_TARGET}) set(CMAKE_FIND_ROOT_PATH $ENV{QNX_TARGET} ${CMAKE_INSTALL_PREFIX})
# search for programs in the build host directories # search for programs in the build host directories
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
......
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