summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompilerChange/EmptyCompiler.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CompilerChange/EmptyCompiler.cmake')
-rw-r--r--Tests/RunCMake/CompilerChange/EmptyCompiler.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tests/RunCMake/CompilerChange/EmptyCompiler.cmake b/Tests/RunCMake/CompilerChange/EmptyCompiler.cmake
index c87ec49..06e9e03 100644
--- a/Tests/RunCMake/CompilerChange/EmptyCompiler.cmake
+++ b/Tests/RunCMake/CompilerChange/EmptyCompiler.cmake
@@ -1,3 +1,2 @@
+set(CMAKE_USER_MAKE_RULES_OVERRIDE_C ${CMAKE_CURRENT_LIST_DIR}/EmptyCompiler-override.cmake)
enable_language(C)
-message(STATUS "CMAKE_C_COMPILER is \"${CMAKE_C_COMPILER}\"")
-file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/cc.cmake" "set(CMAKE_C_COMPILER \"${CMAKE_C_COMPILER}\")\n")