Commit cccb7895 authored by Chuck Atkins's avatar Chuck Atkins
Browse files

Use shared runtime libs for the intel compiler

parent fb2680fe
......@@ -294,4 +294,8 @@ if (NOT EXISTS "${CMAKE_CURRENT_LIST_DIR}/superbuild/CMakeLists.txt")
"and `git submodule update`?")
endif ()
if(BUILD_SHARED_LIBS AND CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
string(APPEND superbuild_ld_flags "-shared-intel")
endif()
add_subdirectory(superbuild)
Supports Markdown
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