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") if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
find_package(vorbis REQUIRED) find_package(vorbis REQUIRED)
# Resolve luajit from the toolchain-provided installed tree # _VCPKG_INSTALLED_DIR is set by the vcpkg toolchain and points to the
# (manifest and classic vcpkg modes), not from the temporary # installed tree of the active triplet: <build>/vcpkg_installed/<triplet>
# "packages/" staging directory inside $ENV{VCPKG_ROOT}. # in manifest mode, <vcpkg root>/installed/<triplet> in classic mode.
set(LUAJIT_PACKAGE_DIR "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}") set(LUAJIT_PACKAGE_DIR "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}")
if(VCPKG_TARGET_TRIPLET MATCHES "static") if(VCPKG_TARGET_TRIPLET MATCHES "static")
add_library(luajit STATIC IMPORTED) add_library(luajit STATIC IMPORTED)