Commit bf86d7ae authored by Andrew Burns's avatar Andrew Burns

Remove -fPIC as is replaced by other code

parent bcf85006
......@@ -39,12 +39,6 @@ if(XDMF_BUILD_TESTING)
endif()
if (XDMF_STATIC_AND_SHARED)
STRING(REGEX MATCH "-fPIC" IS_FPIC "${CMAKE_CXX_FLAGS}")
if ("${IS_FPIC}" STREQUAL "")
if(UNIX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
endif(UNIX)
endif ("${IS_FPIC}" STREQUAL "")
add_definitions(-DXDMFSTATIC)
endif ()
......
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