summaryrefslogtreecommitdiff
path: root/Tests/MFC/CMakeLists.txt.in
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/MFC/CMakeLists.txt.in')
-rw-r--r--Tests/MFC/CMakeLists.txt.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/MFC/CMakeLists.txt.in b/Tests/MFC/CMakeLists.txt.in
index bf98e918ce..3632e03e21 100644
--- a/Tests/MFC/CMakeLists.txt.in
+++ b/Tests/MFC/CMakeLists.txt.in
@@ -65,3 +65,6 @@ if("${CMAKE_MFC_FLAG}" STREQUAL "2")
set(CMAKE_INSTALL_MFC_LIBRARIES ON)
include(InstallRequiredSystemLibraries)
endif()
+
+# Encode the value inside a generator expression to test evaluation.
+set(CMAKE_MFC_FLAG "$<1:${CMAKE_MFC_FLAG}>")