Merge pull request #3906 from yxiong:policy-0042

pull/3879/head
Vadim Pisarevsky 10 years ago
commit 44f112a9de
  1. 5
      CMakeLists.txt

@ -56,6 +56,11 @@ if(POLICY CMP0026)
cmake_policy(SET CMP0026 OLD)
endif()
if (POLICY CMP0042)
# silence cmake 3.0+ warnings about MACOSX_RPATH
cmake_policy(SET CMP0042 OLD)
endif()
# must go before the project command
set(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "Configs" FORCE)
if(DEFINED CMAKE_BUILD_TYPE)

Loading…
Cancel
Save