set(LibArchive_ROOT_                    "/opt/libarchive" CACHE PATH "")
set(ZLIB_ROOT_                          "/opt/zlib" CACHE PATH "")

set(LibArchive_INCLUDEDIR               ${LibArchive_ROOT_}/include CACHE STRING "")
set(LibArchive_LIBRARYDIR               ${LibArchive_ROOT_}/lib64 CACHE STRING "")

set(ZLIB_INCLUDEDIR                     ${ZLIB_ROOT_}/include CACHE STRING "")
set(ZLIB_LIBRARYDIR                     ${ZLIB_ROOT_}/lib64 CACHE STRING "")

set(CMAKE_C_FLAGS_RELEASE               "-Wall -O3 -pipe -march=nocona -fvisibility=hidden" CACHE STRING "" FORCE)
set(CMAKE_CXX_FLAGS_RELEASE             ${CMAKE_C_FLAGS_RELEASE} CACHE STRING "" FORCE)

set(BUILD_STATIC_EXECUTABLE             ON CACHE BOOL "")
set(CMAKE_BUILD_TYPE                    Release CACHE STRING "")
