Fix for travis build

This commit is contained in:
xawotihs
2015-10-10 15:15:43 +02:00
parent d0db71602a
commit b7e8d19290
2 changed files with 6 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 2.8.7)
if(CMAKE_MAJOR_VERSION STRGREATER 3)
cmake_policy(SET CMP0054 NEW)
endif()
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/CMakeModules)

View File

@@ -110,8 +110,10 @@ macro(FindOrBuildGIF)
if(BUILD_GIF)
message(WARNING "GIF sources are currently not included within the wagic tree")
else()
if(PSP)
find_package(GIF)
endif()
endif()
endmacro()
macro(FindOrBuildJPEG)