CMakeLists.txt
changeset 8088 55f99b65e795
parent 8087 ccc99eebdac2
child 8089 56bf04303311
equal deleted inserted replaced
8087:ccc99eebdac2 8088:55f99b65e795
     2 
     2 
     3 #initialise cmake environment
     3 #initialise cmake environment
     4 cmake_minimum_required(VERSION 2.6.0 FATAL_ERROR)
     4 cmake_minimum_required(VERSION 2.6.0 FATAL_ERROR)
     5 cmake_policy(VERSION 2.6)
     5 cmake_policy(VERSION 2.6)
     6 FOREACH(hwpolicy CMP0003 CMP0012 CMP0017)
     6 FOREACH(hwpolicy CMP0003 CMP0012 CMP0017)
     7     CMAKE_POLICY(SET ${hwpolicy} NEW)
     7     IF(POLICY ${policy})
       
     8         CMAKE_POLICY(SET ${hwpolicy} NEW)
       
     9     ENDIF()
     8 ENDFOREACH()
    10 ENDFOREACH()
     9 #use available modules, fallback to ours if not present (CMP0017 helps)
    11 #use available modules, fallback to ours if not present (CMP0017 helps)
    10 set(CMAKE_MODULE_PATH "${CMAKE_ROOT}/Modules" "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules")
    12 set(CMAKE_MODULE_PATH "${CMAKE_ROOT}/Modules" "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules")
    11 
    13 
    12 
    14