summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-03-20 15:52:01 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-03-20 15:52:06 (GMT)
commit01bdc2cc43def6797e40037859cb72981c7342b8 (patch)
treee17eada55988da17a3e4d1947dc4dae7d28362b6 /Tests
parente145cfe2e9d4afac060754097dee0b9439d470d7 (diff)
parent9eb05b48cd8e19988e5a579996598802e2bacdea (diff)
downloadCMake-01bdc2cc43def6797e40037859cb72981c7342b8.zip
CMake-01bdc2cc43def6797e40037859cb72981c7342b8.tar.gz
CMake-01bdc2cc43def6797e40037859cb72981c7342b8.tar.bz2
Merge topic 'geh-visibility-flag'
9eb05b48 GenerateExportHeader: always fill in _EXPORT macros Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !36
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/GenerateExportHeader/GEH.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/GenerateExportHeader/GEH.cmake b/Tests/RunCMake/GenerateExportHeader/GEH.cmake
index cddba29..e0677a7 100644
--- a/Tests/RunCMake/GenerateExportHeader/GEH.cmake
+++ b/Tests/RunCMake/GenerateExportHeader/GEH.cmake
@@ -110,7 +110,7 @@ if (WIN32 OR CYGWIN)
else()
set(_platform WinEmpty)
endif()
-elseif(COMPILER_HAS_HIDDEN_VISIBILITY AND USE_COMPILER_HIDDEN_VISIBILITY)
+elseif(COMPILER_HAS_HIDDEN_VISIBILITY)
set(_platform UNIX)
elseif(COMPILER_HAS_DEPRECATED)
set(_platform UNIX_DeprecatedOnly)