Skip to content

Commit

Permalink
No longer need my way of setting CMP0074.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtv committed May 2, 2020
1 parent 5ee153e commit 803b25d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
cmake_minimum_required(VERSION 3.7)

if($CMAKE_VERSION VERSION_GREATER_EQUAL "3.12")
# Support PostgreSQL_ROOT as a way of setting the location where the build
# can find libpq and its headers.
cmake_policy(SET CMP0074 NEW)
endif()

file(READ VERSION VER_FILE_CONTENT)
string(STRIP ${VER_FILE_CONTENT} VER_FILE_CONTENT)

Expand Down

0 comments on commit 803b25d

Please sign in to comment.