Allow CMAKE_EXPERIMENTAL_CXX_IMPORT_STD to be overridden - #11
Allow CMAKE_EXPERIMENTAL_CXX_IMPORT_STD to be overridden#11DockedFerret800 wants to merge 1 commit into
Conversation
|
You found a real bug here. Confirmed on current The plain The one problem with That's the same failure the table was added to prevent, in a quieter form. #12 takes your fix and applies it as a guard instead, which gets the override without touching the cache: if(UT_IMPORT_STD_GATE AND NOT DEFINED CMAKE_EXPERIMENTAL_CXX_IMPORT_STD)
On the Closing in favour of #12, which is your fix with a different mechanism. Please do review it — if you see a case the guard misses that the cache form handled, I'd rather hear it before it merges. |
Allows
CMAKE_EXPERIMENTAL_CXX_IMPORT_STDto be overridden. After merging #9, this can be replaced with a newer syntax from CMake 4.2:set(CACHE{CMAKE_EXPERIMENTAL_CXX_IMPORT_STD} VALUE "f35a9ac6-8463-4d38-8eec-5d6008153e7d").