Skip to content

Commit

Permalink
Merge pull request opencv#3906 from yxiong:policy-0042
Browse files Browse the repository at this point in the history
  • Loading branch information
vpisarev committed Apr 7, 2015
2 parents bd2be9c + 9cccd87 commit 44f112a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 44f112a

Please sign in to comment.