CMake/Tests/RunCMake/VisibilityPreset/PropertyTypo.cmake

4 lines
123 B
CMake

add_library(visibility_preset SHARED lib.cpp)
set_property(TARGET visibility_preset PROPERTY CXX_VISIBILITY_PRESET hiden)