Skip to content

Commit 2b78cac

Browse files
LilyWangLRastaban
authored andcommitted
[glib] Fix install config.h (#7963)
* [glib] Fix install config.h
1 parent 93c76a3 commit 2b78cac

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

ports/glib/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ else()
102102
endif()
103103
add_definitions("-DGIO_MODULE_DIR=\"gio/modules\"")
104104
endif()
105+
install(FILES ${CMAKE_BINARY_DIR}/config/config.h DESTINATION include/glib)
105106

106107
include_directories(${CMAKE_BINARY_DIR}/config ${CMAKE_BINARY_DIR}/config/glib ${CMAKE_BINARY_DIR}/config/gio ${CMAKE_BINARY_DIR}/config/gmodule)
107108
include_directories(. glib)

ports/glib/CONTROL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Source: glib
2-
Version: 2.52.3-14-2
2+
Version: 2.52.3-14-3
33
Homepage: https://developer.gnome.org/glib/
44
Description: Portable, general-purpose utility library.
55
Build-Depends: zlib, pcre, libffi, gettext, libiconv

ports/glib/portfile.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,7 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH share/unofficial-glib TARGET_PATH share/un
4848
vcpkg_copy_pdbs()
4949
vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/glib)
5050

51+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
52+
5153
file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/glib)
5254
file(RENAME ${CURRENT_PACKAGES_DIR}/share/glib/COPYING ${CURRENT_PACKAGES_DIR}/share/glib/copyright)

0 commit comments

Comments
 (0)