How do I get rid of -rdynamic option that is added to link command line? The following two lines at the very beginning of CMakeLists.txt do not help: set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "") -- Regards, Tomasz Grobelny