Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[luajit] find_package failure #42320

Open
d1str4ught opened this issue Nov 22, 2024 · 2 comments
Open

[luajit] find_package failure #42320

d1str4ught opened this issue Nov 22, 2024 · 2 comments
Assignees
Labels
category:question This issue is a question

Comments

@d1str4ught
Copy link

d1str4ught commented Nov 22, 2024

Operating system

Windows 11

Compiler

MSVC 2022

Steps to reproduce the behavior

I just added luajit to vcpkg.json and tried to link it to my CMakeProject, however as it was with libwebm too, it does not create LuaJITConfig.cmake or luajit-config.cmake in the share folder, so I can't use it with my project.

Failure logs

-- Found Boost: C:/boost (found version "1.85.0")
CMake Error at C:/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package):
Could not find a package configuration file provided by "LuaJIT" with any
of the following names:

LuaJITConfig.cmake
luajit-config.cmake

Add the installation prefix of "LuaJIT" to CMAKE_PREFIX_PATH or set
"LuaJIT_DIR" to a directory containing one of the above files. If "LuaJIT"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
CMakeLists.txt:11 (find_package)

-- Configuring incomplete, errors occurred!

Additional context

No response

@d1str4ught d1str4ught added the category:port-bug The issue is with a library, which is something the port should already support label Nov 22, 2024
@FrankXie05
Copy link
Contributor

@d1str4ught Currently vcpkg does not provide the cmake usage provided by luajit. You can use MSbuild to use luajit by running the command ./vcpkg integrate install

@FrankXie05 FrankXie05 added category:question This issue is a question and removed category:port-bug The issue is with a library, which is something the port should already support labels Nov 25, 2024
@dg0yt
Copy link
Contributor

dg0yt commented Nov 25, 2024

You can use plain find_path/find_library/select_library_configurations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

3 participants