summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/VisibilityPreset/CMP0063-WARN-yes.cmake
blob: 3388e4db0f11bb5a6bbff2b779a39eb01c6c5d60 (plain)
1
2
3
4
5
6
7
8

enable_language(CXX)

# Ensure CMake warns 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)