fix use absolute path
This commit is contained in:
parent
93fbf50c8f
commit
f899290b1f
@ -3,8 +3,8 @@ set(CMAKE_CROSSCOMPILING TRUE)
|
|||||||
set(CMAKE_SYSTEM_NAME Linux)
|
set(CMAKE_SYSTEM_NAME Linux)
|
||||||
set(CMAKE_SYSTEM_PROCESSOR arm)
|
set(CMAKE_SYSTEM_PROCESSOR arm)
|
||||||
# when hislicon SDK was installed, toolchain was installed in the path as below:
|
# when hislicon SDK was installed, toolchain was installed in the path as below:
|
||||||
set(CMAKE_C_COMPILER "/opt/hisi-linux/x86-arm/arm-hisiv500-linux/target/bin/arm-hisiv500-linux-gcc")
|
set(CMAKE_C_COMPILER "/opt/hisi-linux/x86-arm/arm-hisiv500-linux/bin/arm-hisiv500-linux-uclibcgnueabi-gcc")
|
||||||
set(CMAKE_CXX_COMPILER "/opt/hisi-linux/x86-arm/arm-hisiv500-linux/target/bin/arm-hisiv500-linux-g++")
|
set(CMAKE_CXX_COMPILER "/opt/hisi-linux/x86-arm/arm-hisiv500-linux/bin/arm-hisiv500-linux-uclibcgnueabi-g++")
|
||||||
set(CMAKE_FIND_ROOT_PATH "/opt/hisi-linux/x86-arm/arm-hisiv500-linux")
|
set(CMAKE_FIND_ROOT_PATH "/opt/hisi-linux/x86-arm/arm-hisiv500-linux")
|
||||||
|
|
||||||
# set searching rules for cross-compiler
|
# set searching rules for cross-compiler
|
||||||
|
Loading…
x
Reference in New Issue
Block a user