diff -r 66e8453e1768 -r ab77deb851fa CMakeLists.txt --- a/CMakeLists.txt Sat Feb 21 20:23:34 2015 +0200 +++ b/CMakeLists.txt Tue Mar 03 16:50:39 2015 +0200 @@ -22,8 +22,13 @@ find_package (Qt4 REQUIRED) endif() +find_package (Libarchive) find_package (OpenGL REQUIRED) +if (NOT LibArchive_FOUND) + message (SEND_ERROR "Could not find Libarchive") +endif() + get_target_property (CODEGEN_EXE codegen LOCATION) include_directories (${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR}) @@ -194,4 +199,4 @@ COMMAND python "${CMAKE_SOURCE_DIR}/updaterevision.py" "${CMAKE_CURRENT_BINARY_DIR}/hginfo.h") -add_dependencies (${PROJECT_NAME} make_hginfo_h) \ No newline at end of file +add_dependencies (${PROJECT_NAME} make_hginfo_h)