|
|
@ -394,6 +394,12 @@ else()
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(BUILD_TESTING)
|
|
|
|
|
|
|
|
message("BUILD TESTS: Core, Scripts")
|
|
|
|
|
|
|
|
set(BUILD_SCRIPT_TESTS ON FORCE)
|
|
|
|
|
|
|
|
set(BUILD_CORE_TESTS ON FORCE)
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
# Support linking against external tinyxml
|
|
|
|
# Support linking against external tinyxml
|
|
|
|
# If we find an external tinyxml, set the DFHACK_TINYXML variable to "tinyxml"
|
|
|
|
# If we find an external tinyxml, set the DFHACK_TINYXML variable to "tinyxml"
|
|
|
|
# Otherwise, set it to "dfhack-tinyxml"
|
|
|
|
# Otherwise, set it to "dfhack-tinyxml"
|
|
|
@ -409,12 +415,6 @@ else()
|
|
|
|
set(DFHACK_TINYXML "dfhack-tinyxml")
|
|
|
|
set(DFHACK_TINYXML "dfhack-tinyxml")
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
if(BUILD_TESTING)
|
|
|
|
|
|
|
|
message("BUILD TESTS: Core, Scripts")
|
|
|
|
|
|
|
|
set(BUILD_SCRIPT_TESTS ON FORCE)
|
|
|
|
|
|
|
|
set(BUILD_CORE_TESTS ON FORCE)
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
find_package(ZLIB REQUIRED)
|
|
|
|
find_package(ZLIB REQUIRED)
|
|
|
|
|
|
|
|
|
|
|
|
if(BUILD_CORE_TESTS)
|
|
|
|
if(BUILD_CORE_TESTS)
|
|
|
|