ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/CMakeLists.txt
(Generate patch)

Comparing ray/CMakeLists.txt (file contents):
Revision 1.14 by greg, Tue Apr 21 19:16:51 2015 UTC vs.
Revision 1.15 by greg, Fri May 8 18:07:38 2015 UTC

# Line 1 | Line 1
1   cmake_minimum_required(VERSION 2.8.4)
2   project("radiance")
3  
4 + if(NOT ${CMAKE_VERSION} VERSION_LESS "2.8.11")
5 +  cmake_policy(SET CMP0020 NEW)
6 +  if(NOT ${CMAKE_VERSION} VERSION_LESS "3.0")
7 +    cmake_policy(SET CMP0042 NEW)
8 +    if(NOT ${CMAKE_VERSION} VERSION_LESS "3.1")
9 +      cmake_policy(SET CMP0054 NEW)
10 +    endif()
11 +  endif()
12 + endif()
13 +
14   enable_testing()
15   include(CTest)
16  
# Line 77 | Line 87 | SET(CPACK_RESOURCE_FILE_LICENSE "${radiance_SOURCE_DIR
87   include(CPack)
88  
89   if(NOT BUILD_HEADLESS)
90 <  find_package(Qt4 COMPONENTS QtCore QtGui)
90 >  find_package(Qt5Widgets)
91    find_package(X11)
92   endif()
93  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines