Skip to content

Update Experimental CMAKE_IMPORT_STD Flags - #354

Merged
hanickadot merged 1 commit into
hanickadot:mainfrom
MathewBensonCode:cmake_import_std
Mar 29, 2026
Merged

Update Experimental CMAKE_IMPORT_STD Flags#354
hanickadot merged 1 commit into
hanickadot:mainfrom
MathewBensonCode:cmake_import_std

Conversation

@MathewBensonCode

Copy link
Copy Markdown

In order to use the Experimental CMAKE_IMPORT_STD flags, the experimental guid was hard-coded into the cmake file.

CMake has however updated this Guid twice now, making it impossible to use the Module functionality with newer cmake versions.

I have added the corresponding Guids with some "Ifs" and "Elses" to match the CMake version number being used in order to make it a bit more resilient.

@hanickadot

Copy link
Copy Markdown
Owner

please make the change minimal and don't do reformating

@Alcaro

Alcaro commented Feb 19, 2026

Copy link
Copy Markdown

In order to use the Experimental CMAKE_IMPORT_STD flags, the experimental guid was hard-coded into the cmake file.

CMake has however updated this Guid twice now, making it impossible to use the Module functionality with newer cmake versions.

I have added the corresponding Guids with some "Ifs" and "Elses" to match the CMake version number being used in order to make it a bit more resilient.
@MathewBensonCode

Copy link
Copy Markdown
Author

My Apology for the formatting changes.

I have factored in the removal of the experimental state in version 4.3

This change is likely to be beneficial to those using older versions of cmake.

@hanickadot
hanickadot merged commit 912a739 into hanickadot:main Mar 29, 2026
37 of 48 checks passed
@MathewBensonCode
MathewBensonCode deleted the cmake_import_std branch March 29, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants