mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-03 13:36:40 +00:00
Resave hint variables to cache so they'll still exist after a reconfigure
This commit is contained in:
parent
5fbfbb3d84
commit
cd37504d0e
1 changed files with 2 additions and 0 deletions
|
@ -95,6 +95,8 @@ include(FindPackageHandleStandardArgs)
|
||||||
find_package_handle_standard_args(LZ4 DEFAULT_MSG
|
find_package_handle_standard_args(LZ4 DEFAULT_MSG
|
||||||
LZ4_LIBRARY LZ4_INCLUDE_DIR LZ4_VERSION)
|
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)
|
mark_as_advanced(LZ4_INCLUDE_DIR LZ4_LIBRARY)
|
||||||
|
|
||||||
set(LZ4_LIBRARIES ${LZ4_LIBRARY})
|
set(LZ4_LIBRARIES ${LZ4_LIBRARY})
|
||||||
|
|
Loading…
Reference in a new issue