diff options
author | Wolfgang Schupp <wsnipex@a1.net> | 2022-07-13 13:59:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-13 13:59:08 +0200 |
commit | 3868401d00467f4cad569d2f7e701de98ef601ff (patch) | |
tree | f78fe83989eeb3e85d72a9b62cf09c5ac8c34c2a /cmake/scripts/common | |
parent | 7dbeb668773469d862a462a483164213976302bf (diff) | |
parent | 6f82abb4bb588652e939b6cb53c692a7586d03a1 (diff) |
Merge pull request #21666 from bkuhls/cross_host_can_execute_target
[cmake] Allow specifying HOST_CAN_EXECUTE_TARGET
Diffstat (limited to 'cmake/scripts/common')
-rw-r--r-- | cmake/scripts/common/ArchSetup.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/scripts/common/ArchSetup.cmake b/cmake/scripts/common/ArchSetup.cmake index 97a09b4433..a59fcb52f7 100644 --- a/cmake/scripts/common/ArchSetup.cmake +++ b/cmake/scripts/common/ArchSetup.cmake @@ -59,7 +59,7 @@ endif() # this variable is set if we can execute build artefacts on the host system (for example unit tests). if(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL CMAKE_SYSTEM_PROCESSOR AND CMAKE_HOST_SYSTEM_NAME STREQUAL CMAKE_SYSTEM_NAME) - if(NOT HOST_CAN_EXECUTE_TARGET) + if(NOT DEFINED HOST_CAN_EXECUTE_TARGET) set(HOST_CAN_EXECUTE_TARGET TRUE) endif() else() |