1 2 3 4
# Linux sun studio c++ options SET(CMAKE_DL_LIBS "dl") SET(CMAKE_SHARED_LIBRARY_RPATH_LINK_CXX_FLAG "-rpath-link ") SET(CMAKE_EXE_EXPORTS_CXX_FLAG "--export-dynamic")