From 2780acca6a21adc13078c67b7d988883bfbcc3ce Mon Sep 17 00:00:00 2001 From: nogitsune-youkai Date: Thu, 1 Oct 2026 18:39:56 +0300 Subject: [PATCH] fixed comment --- src/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d06a58e0f..09d753afb 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -27,9 +27,9 @@ endif() if(CMAKE_SYSTEM_NAME STREQUAL "Windows") find_package(vorbis REQUIRED) - # Resolve luajit from the toolchain-provided installed tree - # (manifest and classic vcpkg modes), not from the temporary - # "packages/" staging directory inside $ENV{VCPKG_ROOT}. + # _VCPKG_INSTALLED_DIR is set by the vcpkg toolchain and points to the + # installed tree of the active triplet: /vcpkg_installed/ + # in manifest mode, /installed/ in classic mode. set(LUAJIT_PACKAGE_DIR "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}") if(VCPKG_TARGET_TRIPLET MATCHES "static") add_library(luajit STATIC IMPORTED)