--- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,9 +16,6 @@ set(CMAKE_TOOLCHAIN_FILE "$ENV{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" CACHE STRING "") endif (DEFINED ENV{VCPKG_ROOT} AND NOT DEFINED CMAKE_TOOLCHAIN_FILE) -if (CMAKE_TOOLCHAIN_FILE) - include("${CMAKE_TOOLCHAIN_FILE}") -endif (CMAKE_TOOLCHAIN_FILE) set(CMAKE_WARN_DEPRECATED ON)