CMakeLists.txt
changeset 8674 fff355ba2902
parent 8673 834e2d3b43d2
child 8683 45a976bf9ca4
equal deleted inserted replaced
8673:834e2d3b43d2 8674:fff355ba2902
    13     if(POLICY ${hwpolicy})
    13     if(POLICY ${hwpolicy})
    14         cmake_policy(SET ${hwpolicy} NEW)
    14         cmake_policy(SET ${hwpolicy} NEW)
    15     endif()
    15     endif()
    16 endforeach()
    16 endforeach()
    17 
    17 
    18 #use available modules, fallback to ours if not present (CMP0017 helps)
    18 set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules")
    19 set(CMAKE_MODULE_PATH "${CMAKE_ROOT}/Modules" "${CMAKE_SOURCE_DIR}/cmake_modules")
       
    20 
    19 
    21 
    20 
    22 #possible cmake configuration
    21 #possible cmake configuration
    23 option(NOSERVER "Disable gameServer build [default: auto]" OFF)
    22 option(NOSERVER "Disable gameServer build [default: auto]" OFF)
    24 option(NOPNG "Disable screenshoot compression [default: auto]" OFF)
    23 option(NOPNG "Disable screenshoot compression [default: auto]" OFF)