Skip to content

Commit

Permalink
Fixed MSVC runtime CRT library issue
Browse files Browse the repository at this point in the history
  • Loading branch information
stekyne committed Oct 9, 2024
1 parent e863504 commit 809e7b2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.13)
cmake_minimum_required(VERSION 3.13.4)
cmake_policy(SET CMP0077 NEW)
cmake_policy(SET CMP0091 NEW)

option(USE_VCPKG "Use VCPKG to download and manage dependencies" OFF)

Expand All @@ -19,8 +20,6 @@ if(USE_VCPKG)

set(VCPKG_FEATURE_FLAGS versions)
set(X_VCPKG_APPLOCAL_DEPS_INSTALL ON)
set(VCPKG_OVERLAY_TRIPLETS "${CMAKE_CURRENT_SOURCE_DIR}")
set(VCPKG_OVERLAY_PORTS "${CMAKE_CURRENT_SOURCE_DIR}")
set(CMAKE_TOOLCHAIN_FILE
"${CMAKE_CURRENT_SOURCE_DIR}/vcpkg/scripts/buildsystems/vcpkg.cmake"
CACHE STRING "Vcpkg toolchain file")
Expand Down

0 comments on commit 809e7b2

Please sign in to comment.