1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

fix windows vcpkg

This commit is contained in:
Tom Atkinson 2024-03-11 00:18:50 +00:00
parent 4c293dc0de
commit 1a3985ec93
2 changed files with 5 additions and 1 deletions

View File

@ -31,7 +31,7 @@ jobs:
- name: Install Windows Dependencies
if: startsWith(matrix.os, 'windows')
run: vcpkg integrate install
run: ./vcpkg/install_vcpkg_dependencies.bat
- name: Install MacOS Dependencies
if: startsWith(matrix.os, 'macos')

View File

@ -3,6 +3,10 @@
set (ROOT_DIR "${CMAKE_CURRENT_LIST_DIR}/../")
if (EXISTS ${ROOT_DIR}/vcpkg_installed/x64-windows-static/lib/pkgconfig)
set(ENV{PKG_CONFIG_PATH} "${ROOT_DIR}/vcpkg_installed/x64-windows-static/lib/pkgconfig")
endif()
# Dependencies are taken from the system first and if not found, they are pulled with CPM and built from source
include(FindPkgConfig)