FindGObject2.cmake patch

Discuss anything related to product development
Post Reply
seasoned_geek
Posts: 263
Joined: Thu Jun 11 2020 12:18 pm

FindGObject2.cmake patch

Post by seasoned_geek »

Just because it annoys me. According to the diff documentation -u should have created a unified patch.

[roland@roland-hpz820workstation ~]$ cat FindGObject2.patch
--- Downloads/FindGObject2.cmake 2024-09-03 12:18:12.197932548 -0500
+++ github_projects/ls-cs/cmake/modules/FindGObject2.cmake 2024-09-03 12:00:55.164030544 -0500
@@ -59,9 +59,9 @@
include(FindPackageHandleStandardArgs)

if (${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.17.0")
- find_package_handle_standard_args(GOBJECT2 DEFAULT_MSG GOBJECT2_LIBRARIES GOBJECT2_MAIN_INCLUDE_DIR NAME_MISMATCHED)
+ find_package_handle_standard_args(GObject2 DEFAULT_MSG GOBJECT2_LIBRARIES GOBJECT2_MAIN_INCLUDE_DIR NAME_MISMATCHED)
else()
- find_package_handle_standard_args(GOBJECT2 DEFAULT_MSG GOBJECT2_LIBRARIES GOBJECT2_MAIN_INCLUDE_DIR)
+ find_package_handle_standard_args(GObject2 DEFAULT_MSG GOBJECT2_LIBRARIES GOBJECT2_MAIN_INCLUDE_DIR)
endif()

mark_as_advanced(GOBJECT2_INCLUDE_DIR GOBJECT2_LIBRARIES)
ansel
Posts: 155
Joined: Fri Apr 10 2015 8:23 am

Re: FindGObject2.cmake patch

Post by ansel »

Thanks for reporting this. We received information about this a few weeks ago on GitHub and currently have a clean fix we are testing in CI.
Ansel Sermersheim
CopperSpice Cofounder
Post Reply