diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-29 16:26:10 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-29 16:26:10 +0000 |
| commit | b276b1db48faa7328575ab722fe3bc340623f025 (patch) | |
| tree | 9e4ba424f754c3f05e409ae647fa358031d97617 /lib | |
| parent | d1bd27794dfbc317e27d1ec63b338115cbf194ba (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/CMakeLists.txt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 6161838d0dfd..fe45f5ac0fe5 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -242,14 +242,11 @@ endif() if (LIBCXX_ENABLE_STATIC) add_library(cxx_static STATIC $<TARGET_OBJECTS:cxx_objects>) target_link_libraries(cxx_static ${LIBCXX_LIBRARIES}) - set(STATIC_OUTPUT_NAME "c++") - if (WIN32) - set(STATIC_OUTPUT_NAME "libc++") - endif() + set(CMAKE_STATIC_LIBRARY_PREFIX "lib") set_target_properties(cxx_static PROPERTIES LINK_FLAGS "${LIBCXX_LINK_FLAGS}" - OUTPUT_NAME "${STATIC_OUTPUT_NAME}" + OUTPUT_NAME "c++" ) list(APPEND LIBCXX_TARGETS "cxx_static") |
