Browse Source

Merge topic 'msvc-wine-import-std'

abb33568e6 cxxmodules: Support `import std` for msvc-wine

Acked-by: Kitware Robot <[email protected]>
Reviewed-by: Ben Boeckel <[email protected]>
Merge-request: !9450
Brad King 1 year ago
parent
commit
805af4f3ad
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Modules/Compiler/MSVC-CXX-CXXImportStd.cmake

+ 1 - 0
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)