File tree Expand file tree Collapse file tree 2 files changed +24
-6
lines changed
Expand file tree Collapse file tree 2 files changed +24
-6
lines changed Original file line number Diff line number Diff line change @@ -101,12 +101,13 @@ file(RELATIVE_PATH
101101 "${CMAKE_INSTALL_PREFIX} "
102102)
103103
104- # TODO(jrivero): CMake 3.20 provides cmake_path(APPEND) which implements the
105- # same functionality as join_paths(). Remove JoinPaths in the next major version
106- # if all the supported platforms are in 3.20 version.
107- include (JoinPaths)
108- join_paths(GZ_PC_LIBDIR "\$ {prefix}" "${CMAKE_INSTALL_LIBDIR} " )
109- join_paths(GZ_PC_INCLUDEDIR "\$ {prefix}" "${CMAKE_INSTALL_INCLUDEDIR} " "${GZ_INCLUDE_INSTALL_DIR_POSTFIX} " )
104+ # Use cmake_path(APPEND) to construct path variables used in pkg-config file.
105+ # Since the first argument to this function must be a cmake variable (not a
106+ # string constant, initialize the variable to the first path component.
107+ set (GZ_PC_LIBDIR "\$ {prefix}" )
108+ cmake_path(APPEND GZ_PC_LIBDIR "${CMAKE_INSTALL_LIBDIR} " )
109+ set (GZ_PC_INCLUDEDIR "\$ {prefix}" )
110+ cmake_path(APPEND GZ_PC_INCLUDEDIR "${CMAKE_INSTALL_INCLUDEDIR} " "${GZ_INCLUDE_INSTALL_DIR_POSTFIX} " )
110111
111112configure_file (${gz_pkgconfig_input} ${gz_pkgconfig_output} @ONLY)
112113
Original file line number Diff line number Diff line change 44
55## Gazebo CMake 4.x
66
7+ ### Gazebo CMake 4.2.0 (2025-04-25)
8+
9+ 1 . ** Baseline:** this includes all changes from 4.1.1 and earlier.
10+
11+ 1 . Doxygen: use ` MARKDOWN_ID_STYLE ` = GITHUB
12+ * [ Pull request #491 ] ( https://github.com/gazebosim/gz-cmake/pull/491 )
13+
14+ 1 . Avoid warnings on unused ` CMAKE_BUILD_TYPE ` on Windows
15+ * [ Pull request #487 ] ( https://github.com/gazebosim/gz-cmake/pull/487 )
16+
17+ 1 . Integrate Ogre-Next 3.x.x built from source
18+ * [ Pull request #468 ] ( https://github.com/gazebosim/gz-cmake/pull/468 )
19+
20+ 1 . Reduce example names to be able to run Conda CI on Windows (gz-cmake4)
21+ * [ Pull request #476 ] ( https://github.com/gazebosim/gz-cmake/pull/476 )
22+ * [ Pull request #478 ] ( https://github.com/gazebosim/gz-cmake/pull/478 )
23+
724### Gazebo CMake 4.1.1 (2025-02-24)
825
9261 . Normalize header install path
You can’t perform that action at this time.
0 commit comments