fixed comment

This commit is contained in:
nogitsune-youkai 2026-10-01 18:39:56 +03:00
parent a34b7ea2e6
commit 2780acca6a

View file

@ -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: <build>/vcpkg_installed/<triplet>
# in manifest mode, <vcpkg root>/installed/<triplet> in classic mode.
set(LUAJIT_PACKAGE_DIR "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}")
if(VCPKG_TARGET_TRIPLET MATCHES "static")
add_library(luajit STATIC IMPORTED)