Skip to content

Commit ab8ec6c

Browse files
committed
Revert "Guard visibility variables on AIX"
This reverts commit d785c29.
1 parent 36e96bd commit ab8ec6c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

MicroBenchmarks/libs/benchmark/CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,8 @@ option(BENCHMARK_USE_BUNDLED_GTEST "Use bundled GoogleTest. If disabled, the fin
5151
option(BENCHMARK_ENABLE_LIBPFM "Enable performance counters provided by libpfm" OFF)
5252

5353
# Export only public symbols
54-
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "AIX")
55-
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
56-
set(CMAKE_VISIBILITY_INLINES_HIDDEN ON)
57-
endif()
54+
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
55+
set(CMAKE_VISIBILITY_INLINES_HIDDEN ON)
5856

5957
if(MSVC)
6058
# As of CMake 3.18, CMAKE_SYSTEM_PROCESSOR is not set properly for MSVC and

0 commit comments

Comments
 (0)