mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-01 08:34:31 +00:00
try to integration the cxxopts install via vcpkg
This commit is contained in:
parent
62b80b1a22
commit
ec2ab2c1c2
2 changed files with 3 additions and 2 deletions
|
|
@ -612,6 +612,7 @@ macOS12_Xcode13:
|
||||||
- choco install vswhere -y
|
- choco install vswhere -y
|
||||||
- choco install python -y
|
- choco install python -y
|
||||||
- vcpkg install cxxopts
|
- vcpkg install cxxopts
|
||||||
|
- vcpkg integrate install
|
||||||
- refreshenv
|
- refreshenv
|
||||||
- |
|
- |
|
||||||
function Make-SafeFileName {
|
function Make-SafeFileName {
|
||||||
|
|
|
||||||
|
|
@ -364,9 +364,9 @@ if (USE_SYSTEM_TINYXML)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# CXXOPTS
|
# CXXOPTS
|
||||||
option(OPENMW_USE_SYSTEM_CXXOPTS "Use system provided CXXOPTS library" ON)
|
option(OPENMW_USE_SYSTEM_CXXOPTS "Use system provided cxxopts library" ON)
|
||||||
if(OPENMW_USE_SYSTEM_CXXOPTS)
|
if(OPENMW_USE_SYSTEM_CXXOPTS)
|
||||||
find_package(CXXOPTS REQUIRED)
|
find_package(cxxopts REQUIRED)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Platform specific
|
# Platform specific
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue