FindGObject2.cmake patch
Posted: Tue Sep 03 2024 5:24 pm
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)
[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)