Commit f7aedc5f authored by Vedran Miletić's avatar Vedran Miletić Committed by Victor Zverovich

Fix shared build on Solaris

parent 840a817e
...@@ -185,7 +185,7 @@ set_target_properties(fmt PROPERTIES ...@@ -185,7 +185,7 @@ set_target_properties(fmt PROPERTIES
DEBUG_POSTFIX d) DEBUG_POSTFIX d)
if (BUILD_SHARED_LIBS) if (BUILD_SHARED_LIBS)
if (UNIX AND NOT APPLE) if (UNIX AND NOT APPLE AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
# Fix rpmlint warning: # Fix rpmlint warning:
# unused-direct-shlib-dependency /usr/lib/libformat.so.1.1.0 /lib/libm.so.6. # unused-direct-shlib-dependency /usr/lib/libformat.so.1.1.0 /lib/libm.so.6.
target_link_libraries(fmt -Wl,--as-needed) target_link_libraries(fmt -Wl,--as-needed)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment