Fix compatibility with Ubuntu

presentation
Ulrich Huber 7 years ago
parent 18525f02d8
commit c2624455b8
  1. 6
      CMakeLists.txt

@ -117,7 +117,11 @@ if (MacIntegration_FOUND)
endif ()
# Plugins / scripting
pkg_check_modules (Lua "lua >= 5.3")
pkg_check_modules (Lua "lua5.3")
if (NOT Lua_FOUND)
pkg_check_modules (Lua "lua >= 5.3")
endif()
if (Lua_FOUND)
message("Enable Xournal++ Plugins")
add_includes_ldflags ("${Lua_LDFLAGS}" "${Lua_INCLUDE_DIRS}")

Loading…
Cancel
Save