forked from OSchip/llvm-project
[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:
parent
bfce36299c
commit
850a3d3b92
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue