mirror of https://github.com/libAthena/athena.git
Ensure lzo cache path always current
This commit is contained in:
parent
94dc1e46fa
commit
ca09f732ba
|
@ -81,6 +81,8 @@ if(WIN32 AND NOT UNIX)
|
||||||
install(DIRECTORY include/lzo DESTINATION include COMPONENT lzo2)
|
install(DIRECTORY include/lzo DESTINATION include COMPONENT lzo2)
|
||||||
install(TARGETS lzo2 DESTINATION lib COMPONENT lzo2)
|
install(TARGETS lzo2 DESTINATION lib COMPONENT lzo2)
|
||||||
endif()
|
endif()
|
||||||
|
unset(LZO_LIB CACHE)
|
||||||
|
unset(LZO_INCLUDE_DIR CACHE)
|
||||||
set(LZO_LIB lzo2 CACHE PATH "LZO library" FORCE)
|
set(LZO_LIB lzo2 CACHE PATH "LZO library" FORCE)
|
||||||
set(LZO_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include CACHE PATH "LZO include path" FORCE)
|
set(LZO_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include CACHE PATH "LZO include path" FORCE)
|
||||||
else()
|
else()
|
||||||
|
|
Loading…
Reference in New Issue