summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/VisibilityPreset/CMP0063-OLD.cmake
blob: 8378209c976f4947d5bc4755613953a1c8d262fa (plain)
1
2
3
4
5
6
7
8
cmake_policy(SET CMP0063 OLD)
enable_language(CXX)

# Ensure CMake would warn even if toolchain does not really have these flags.
set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN "-fvisibility-inlines-hidden")
set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY "-fvisibility=")

include(CMP0063-Common.cmake)