mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-22 10:37:10 +01:00
[glslang]Fix generated cmake files. (#8051)
This commit is contained in:
parent
cb0fc1a5f9
commit
2b277b4ef6
@ -1,4 +1,4 @@
|
|||||||
Source: glslang
|
Source: glslang
|
||||||
Version: 2019-03-05
|
Version: 2019-03-05-1
|
||||||
Homepage: https://github.com/KhronosGroup/glslang
|
Homepage: https://github.com/KhronosGroup/glslang
|
||||||
Description: Khronos reference front-end for GLSL and ESSL, and sample SPIR-V generator
|
Description: Khronos reference front-end for GLSL and ESSL, and sample SPIR-V generator
|
@ -16,15 +16,20 @@ vcpkg_from_github(
|
|||||||
vcpkg_configure_cmake(
|
vcpkg_configure_cmake(
|
||||||
SOURCE_PATH ${SOURCE_PATH}
|
SOURCE_PATH ${SOURCE_PATH}
|
||||||
PREFER_NINJA
|
PREFER_NINJA
|
||||||
OPTIONS -DCMAKE_DEBUG_POSTFIX=d -DSKIP_GLSLANG_INSTALL=OFF
|
OPTIONS
|
||||||
|
-DCMAKE_DEBUG_POSTFIX=d
|
||||||
|
-DSKIP_GLSLANG_INSTALL=OFF
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_install_cmake()
|
vcpkg_install_cmake()
|
||||||
|
|
||||||
|
vcpkg_fixup_cmake_targets(CONFIG_PATH share/glslang)
|
||||||
|
|
||||||
|
vcpkg_copy_pdbs()
|
||||||
|
|
||||||
file(RENAME "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/tools")
|
file(RENAME "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/tools")
|
||||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/bin")
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
||||||
|
|
||||||
# Handle copyright
|
# Handle copyright
|
||||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/copyright DESTINATION ${CURRENT_PACKAGES_DIR}/share/glslang)
|
file(COPY ${CMAKE_CURRENT_LIST_DIR}/copyright DESTINATION ${CURRENT_PACKAGES_DIR}/share/glslang)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user