1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-15 00:40:02 +00:00

Resave hint variables to cache so they'll still exist after a reconfigure

This commit is contained in:
AnyOldName3 2021-11-06 18:48:48 +00:00
parent 5fbfbb3d84
commit cd37504d0e

View File

@ -95,6 +95,8 @@ include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(LZ4 DEFAULT_MSG
LZ4_LIBRARY LZ4_INCLUDE_DIR LZ4_VERSION)
set(LZ4_INCLUDE_DIR ${LZ4_INCLUDE_DIR} CACHE PATH "LZ4 include dir hint")
set(LZ4_LIBRARY ${LZ4_LIBRARY} CACHE FILEPATH "LZ4 library path hint")
mark_as_advanced(LZ4_INCLUDE_DIR LZ4_LIBRARY)
set(LZ4_LIBRARIES ${LZ4_LIBRARY})