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}" )