[libc++][CMake] Fix typo introduced in r356150

That typo broke the build when the shared library build was disabled.

llvm-svn: 356155
This commit is contained in:
Louis Dionne 2019-03-14 14:52:26 +00:00
parent bfce36299c
commit 850a3d3b92
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ if (LIBCXX_ENABLE_STATIC)
LINK_FLAGS "${LIBCXX_LINK_FLAGS}"
OUTPUT_NAME "c++"
)
cxx_set_common_defines(cxx_shared)
cxx_set_common_defines(cxx_static)
if (LIBCXX_HERMETIC_STATIC_LIBRARY)
append_flags_if_supported(CXX_STATIC_LIBRARY_FLAGS -fvisibility=hidden)