mirror of
https://github.com/libAthena/athena.git
synced 2025-12-09 21:47:52 +00:00
Ensure lzo cache path always current
This commit is contained in:
2
extern/lzo/CMakeLists.txt
vendored
2
extern/lzo/CMakeLists.txt
vendored
@@ -81,6 +81,8 @@ if(WIN32 AND NOT UNIX)
|
||||
install(DIRECTORY include/lzo DESTINATION include COMPONENT lzo2)
|
||||
install(TARGETS lzo2 DESTINATION lib COMPONENT lzo2)
|
||||
endif()
|
||||
unset(LZO_LIB CACHE)
|
||||
unset(LZO_INCLUDE_DIR CACHE)
|
||||
set(LZO_LIB lzo2 CACHE PATH "LZO library" FORCE)
|
||||
set(LZO_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include CACHE PATH "LZO include path" FORCE)
|
||||
else()
|
||||
|
||||
Reference in New Issue
Block a user