Skip to content

Commit

Permalink
Merge pull request #1215 from henryiii/patch-1
Browse files Browse the repository at this point in the history
Adding CMake visibility policy setting
  • Loading branch information
gennadiycivil committed Aug 18, 2017
2 parents 1fe692c + 5518a1d commit 780bae0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions googletest/CMakeLists.txt
Expand Up @@ -52,6 +52,10 @@ else()
endif()
cmake_minimum_required(VERSION 2.6.4)

if (POLICY CMP0063) # Visibility
cmake_policy(SET CMP0063 NEW)
endif (POLICY CMP0063)

if (COMMAND set_up_hermetic_build)
set_up_hermetic_build()
endif()
Expand Down

0 comments on commit 780bae0

Please sign in to comment.