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
+3 -1
View File
@@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 2.8.7) cmake_minimum_required(VERSION 2.8.7)
cmake_policy(SET CMP0054 NEW) if(CMAKE_MAJOR_VERSION STRGREATER 3)
cmake_policy(SET CMP0054 NEW)
endif()
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/CMakeModules) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/CMakeModules)
+2
View File
@@ -110,8 +110,10 @@ macro(FindOrBuildGIF)
if(BUILD_GIF) if(BUILD_GIF)
message(WARNING "GIF sources are currently not included within the wagic tree") message(WARNING "GIF sources are currently not included within the wagic tree")
else() else()
if(PSP)
find_package(GIF) find_package(GIF)
endif() endif()
endif()
endmacro() endmacro()
macro(FindOrBuildJPEG) macro(FindOrBuildJPEG)