aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/kconfig_compiler/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kconfig_compiler/CMakeLists.txt b/src/kconfig_compiler/CMakeLists.txt
index a475b511..44018401 100644
--- a/src/kconfig_compiler/CMakeLists.txt
+++ b/src/kconfig_compiler/CMakeLists.txt
@@ -1,6 +1,6 @@
add_executable(kconfig_compiler)
-if(CMAKE_TOOLCHAIN_FILE)
+if(CMAKE_CROSSCOMPILING)
if(BUILD_TESTING)
message(WARNING "Testing should be disabled on cross-compilation")
endif()