From a5b6f83a3d024bce842ab3ae241ec6b5ba8959cf Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Mon, 24 Aug 2026 18:19:45 +0500 Subject: [PATCH] Normalize whitespaces in cmake files --- .github/scripts/check-whitespace.py | 7 ++++++- src/plugin/CMakeLists.txt | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/scripts/check-whitespace.py b/.github/scripts/check-whitespace.py index 7eabd4307c..0a24f59765 100644 --- a/.github/scripts/check-whitespace.py +++ b/.github/scripts/check-whitespace.py @@ -284,12 +284,17 @@ PATTERNS = ( "*.cpp", "*.h", "*.i", + "*.cmake", + "*/CMakeLists.txt", ) REPO_ROOT = Path(subprocess.check_output(["git", "rev-parse", "--show-toplevel"], text=True).strip()) # Generated files; formatted by the express codegen, not by this script. -IGNORED_DIRS = (REPO_ROOT / "src/ifcparse/schemas",) +IGNORED_DIRS = ( + REPO_ROOT / "src/ifcparse/schemas", + REPO_ROOT / "win/patches", +) def get_tracked_files(root: Path | None = None) -> list[Path]: diff --git a/src/plugin/CMakeLists.txt b/src/plugin/CMakeLists.txt index 974d5b47ae..eb4b8e34f0 100644 --- a/src/plugin/CMakeLists.txt +++ b/src/plugin/CMakeLists.txt @@ -11,7 +11,7 @@ target_include_directories(plugin PUBLIC ) if (NOT CREATE_BUNDLE) -set_target_properties(plugin PROPERTIES +set_target_properties(plugin PROPERTIES VERSION "${PROJECT_VERSION}" SOVERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}" )