diff --git CMakeLists.txt CMakeLists.txt index 12e0d6e6a..538e6819e 100644 --- CMakeLists.txt +++ CMakeLists.txt @@ -23,6 +23,8 @@ if(XCODE) message(FATAL_ERROR [[Xcode generator is not supported. Use "Ninja" or "Unix Makefiles" instead]]) endif() +include_directories(BEFORE @PREFIX@/include/lua5.1) + # Point CMake at any custom modules we may ship list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake") @@ -39,6 +41,7 @@ include(InstallHelpers) include(PreventInTreeBuilds) include(Util) + #------------------------------------------------------------------------------- # User settings #-------------------------------------------------------------------------------