diff options
author | Craig Scott <craig.scott@crascit.com> | 2024-03-30 03:48:50 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2024-04-02 12:00:38 (GMT) |
commit | 97464aa9701cc4bebb6d0a44c0201c3476489c3e (patch) | |
tree | 5fbbc4104613762d7903702b40b68e18d8c77443 /Help/manual | |
parent | d166e7d740bfb53c18221f1126e984b668923208 (diff) | |
download | CMake-97464aa9701cc4bebb6d0a44c0201c3476489c3e.zip CMake-97464aa9701cc4bebb6d0a44c0201c3476489c3e.tar.gz CMake-97464aa9701cc4bebb6d0a44c0201c3476489c3e.tar.bz2 |
enable_language(): Fail if called before project()
Fixes: #25550
Diffstat (limited to 'Help/manual')
-rw-r--r-- | Help/manual/cmake-policies.7.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst index d874363..51b4ce6 100644 --- a/Help/manual/cmake-policies.7.rst +++ b/Help/manual/cmake-policies.7.rst @@ -57,6 +57,7 @@ Policies Introduced by CMake 3.30 .. toctree:: :maxdepth: 1 + CMP0165: enable_language() must not be called before project(). </policy/CMP0165> CMP0164: add_library() rejects SHARED libraries when not supported by the platform. </policy/CMP0164> CMP0163: The GENERATED source file property is now visible in all directories. </policy/CMP0163> CMP0162: Visual Studio generators add UseDebugLibraries indicators by default. </policy/CMP0162> |