Skip to content

Commit

Permalink
Set CMAKE_EXPERIMENTAL_CXX_IMPORT_STD in CMakePresets.json.
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe2933 committed Sep 30, 2024
1 parent 0e29309 commit b4110d9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
cmake_minimum_required(VERSION 3.30)

# Enable CMake's experimental standard library module support.
set(CMAKE_EXPERIMENTAL_CXX_IMPORT_STD "0e5b6991-d74f-4b3d-a41c-cf096e0b2508")

project(vk-deferred LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 23)
Expand Down
1 change: 1 addition & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"binaryDir": "${sourceDir}/build",
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"cacheVariables": {
"CMAKE_EXPERIMENTAL_CXX_IMPORT_STD": "0e5b6991-d74f-4b3d-a41c-cf096e0b2508",
"VCPKG_OVERLAY_PORTS": "${sourceDir}/overlays"
}
}
Expand Down

0 comments on commit b4110d9

Please sign in to comment.