mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +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:
parent
4af99b75cf
commit
ff4fef570e
4 changed files with 17 additions and 19 deletions
|
@ -20,7 +20,7 @@ endif()
|
|||
|
||||
if(NOT JSONCPP_FOUND)
|
||||
message(STATUS "Using bundled JSONCPP library.")
|
||||
set(JSON_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/jsoncpp PARENT_SCOPE)
|
||||
set(JSON_LIBRARY jsoncpp PARENT_SCOPE)
|
||||
add_subdirectory(jsoncpp)
|
||||
set(JSON_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/lib/jsoncpp)
|
||||
set(JSON_LIBRARY jsoncpp)
|
||||
add_subdirectory(lib/jsoncpp)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue