You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm including Sol2 in my project using FetchContent in CMake. I have Lua installed on my system, both through Homebrew (brew install lua) and from source code (make install in a copy of the Lua source). On my system, a copy of lua.h is located in /user/local/include next to lua.hpp, luaconf.h, and lualib.h. /usr/local/include is a standard include path on my system that most build systems can recognise.
No matter what I do, however, I always get the same build error. How do I fix it?
I'm including Sol2 in my project using FetchContent in CMake. I have Lua installed on my system, both through Homebrew (
brew install lua
) and from source code (make install
in a copy of the Lua source). On my system, a copy oflua.h
is located in/user/local/include
next tolua.hpp
,luaconf.h
, andlualib.h
./usr/local/include
is a standard include path on my system that most build systems can recognise.No matter what I do, however, I always get the same build error. How do I fix it?
This is my CMakeLists file for reference:
The text was updated successfully, but these errors were encountered: