Use CMake 3.0 for now, refactor the header

This commit is contained in:
Axel Isouard 2017-02-05 06:16:50 -08:00
parent bb1b53a49e
commit 2617dd15d7
No known key found for this signature in database
GPG key ID: D30914735883C824

View file

@ -1,7 +1,10 @@
cmake_minimum_required(VERSION 2.8) cmake_minimum_required(VERSION 3.0)
cmake_policy(SET CMP0057 NEW)
project(libwebrtc) project(libwebrtc)
#
# Allow the use of IN_LIST operand
cmake_policy(SET CMP0057 NEW)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
${CMAKE_SOURCE_DIR}/CMakeModules) ${CMAKE_SOURCE_DIR}/CMakeModules)