mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-17 00:57:50 +08:00
5c12a3bd77
Update `wt` to 4.10.4. * Remove outdated `0002-link-glew.patch` and replace outdated PR #33369. * Fix the following errors: ``` 1> [CMake] CMake Error at F:/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package): 1> [CMake] Could not find a package configuration file provided by "wt" with any of 1> [CMake] the following names: 1> [CMake] 1> [CMake] wtConfig.cmake 1> [CMake] wt-config.cmake 1> [CMake] 1> [CMake] Add the installation prefix of "wt" to CMAKE_PREFIX_PATH or set "wt_DIR" to 1> [CMake] a directory containing one of the above files. If "wt" provides a separate 1> [CMake] development package or SDK, be sure it has been installed. 1> [CMake] Call Stack (most recent call first): 1> [CMake] CMakeUsage/CMakeLists.txt:17 (find_package) ``` - [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [x] SHA512s are updated for each updated download. - [ ] ~The "supports" clause reflects platforms that may be fixed by this new version.~ - [ ] ~Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file.~ - [x] Any patches that are no longer applied are deleted from the port's directory. - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file. All features are tested successfully in the following triplet: ``` x86-windows x64-windows x64-windows-static ``` The usage test passed on `x64-windows` (header files found): ``` wt provides CMake targets: # this is heuristically generated, and may not be correct find_package(wt CONFIG REQUIRED) target_link_libraries(main PRIVATE Wt::Wt Wt::HTTP Wt::Test Wt::Isapi) ``` --------- Co-authored-by: Monica <v-liumonica@microsoft.com>
18 lines
559 B
Diff
18 lines
559 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 96eff0a..c31fd49 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -111,7 +111,11 @@ SET(CMAKE_INSTALL_DIR "${LIB_INSTALL_DIR}/cmake" CACHE STRING
|
|
|
|
IF(WIN32)
|
|
|
|
- SET(RUNDIR "c:/witty") # Does not apply to win32
|
|
+ if (NOT INSTALL_CONFIG_FILE_PATH)
|
|
+ SET(RUNDIR "c:/witty") # Does not apply to win32
|
|
+ else()
|
|
+ SET(RUNDIR ${INSTALL_CONFIG_FILE_PATH}) # Does not apply to win32
|
|
+ endif()
|
|
|
|
IF(NOT DEFINED CONFIGDIR)
|
|
SET(CONFIGDIR ${RUNDIR} CACHE STRING "Path for the configuration files")
|