diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 09d753afb..802c06e1a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -27,9 +27,7 @@ endif() if(CMAKE_SYSTEM_NAME STREQUAL "Windows") find_package(vorbis REQUIRED) - # _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)