summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-04-23 11:57:11 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-04-23 11:57:30 (GMT)
commit805af4f3ad57854bb21a9235adcb5090efaceeb9 (patch)
treed18498c64328df7f293dba532365464ce688043e /Modules
parent9eb4ae4f6475a63f45ca9d57b6236f1e39f410f0 (diff)
parentabb33568e6d58cee1a53c4c9995b8c4d8a46b670 (diff)
downloadCMake-805af4f3ad57854bb21a9235adcb5090efaceeb9.zip
CMake-805af4f3ad57854bb21a9235adcb5090efaceeb9.tar.gz
CMake-805af4f3ad57854bb21a9235adcb5090efaceeb9.tar.bz2
Merge topic 'msvc-wine-import-std'
abb33568e6 cxxmodules: Support `import std` for msvc-wine Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !9450
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Compiler/MSVC-CXX-CXXImportStd.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/MSVC-CXX-CXXImportStd.cmake b/Modules/Compiler/MSVC-CXX-CXXImportStd.cmake
index 9966b9b..f253f9e 100644
--- a/Modules/Compiler/MSVC-CXX-CXXImportStd.cmake
+++ b/Modules/Compiler/MSVC-CXX-CXXImportStd.cmake
@@ -6,6 +6,7 @@ function (_cmake_cxx_import_std std variable)
PATHS
"$ENV{INCLUDE}"
"${CMAKE_CXX_COMPILER}/../../.."
+ "${CMAKE_CXX_COMPILER}/../.." # msvc-wine layout
PATH_SUFFIXES
../modules
NO_CACHE)