Skip to content

Commit

Permalink
Fixed CMake CMP0048 warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
evgen231 authored and vitaut committed Jul 5, 2017
1 parent 589ccc1 commit 1a398b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ message(STATUS "CMake version: ${CMAKE_VERSION}")

cmake_minimum_required(VERSION 2.8.12)

if (POLICY CMP0048)
cmake_policy(SET CMP0048 OLD)
endif ()

# Determine if fmt is built as a subproject (using add_subdirectory)
# or if it is the master project.
set(MASTER_PROJECT OFF)
Expand Down

0 comments on commit 1a398b5

Please sign in to comment.