Fix cross-compiling build tools
This commit is contained in:
parent
1ccf82c2c5
commit
4a17529e39
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ function(psemek_add_build_tool target link_psemek)
|
||||||
install(TARGETS ${target} RUNTIME DESTINATION bin)
|
install(TARGETS ${target} RUNTIME DESTINATION bin)
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
find_file(_LOCATION ${target} PATHS "${PSEMEK_PACKAGE_TOOLS_PATH}/bin")
|
find_file(_LOCATION ${target} PATHS "${PSEMEK_PACKAGE_TOOLS_PATH}/bin" NO_CACHE)
|
||||||
message(STATUS "Found ${target}: ${_LOCATION}")
|
message(STATUS "Found ${target}: ${_LOCATION}")
|
||||||
if(NOT _LOCATION)
|
if(NOT _LOCATION)
|
||||||
message(FATAL_ERROR "Could not locate ${target} build tool in ${PSEMEK_PACKAGE_TOOLS_PATH}")
|
message(FATAL_ERROR "Could not locate ${target} build tool in ${PSEMEK_PACKAGE_TOOLS_PATH}")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue