1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Fix cmake library default build problem since moving to lib/

Also make Lua library check a cmake module
This commit is contained in:
Loic Blot 2017-04-07 23:56:02 +02:00
parent 4af99b75cf
commit ff4fef570e
No known key found for this signature in database
GPG key ID: EFAA458E8C153987
4 changed files with 17 additions and 19 deletions

View file

@ -186,11 +186,14 @@ if(APPLE)
install(FILES "misc/Info.plist" DESTINATION "${BUNDLE_PATH}/Contents")
endif()
# Library pack
find_package(GMP REQUIRED)
find_package(Json REQUIRED)
find_package(Lua REQUIRED)
# Subdirectories
# Be sure to add all relevant definitions above this
add_subdirectory(lib)
add_subdirectory(src)