Skip to content

Commit

Permalink
Set CMP0048 in gbenchmark to avoid warnings about project version (LL…
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbeckingsale authored Feb 13, 2018
1 parent 2c3c39c commit 7b1d3f0
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
cmake_minimum_required (VERSION 2.8.12)

##########################################################
# BLT FIX:
# Add policy setting to avoid warnings for project command
# without VERSION argument
##########################################################
if (POLICY CMP0048)
cmake_policy(SET CMP0048 NEW)
endif ()

project (benchmark)

foreach(p
Expand Down

0 comments on commit 7b1d3f0

Please sign in to comment.