mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 08:05:18 +02:00
Fix cmake library default build problem since moving to lib/
Also make Lua library check a cmake module
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user