Removed the -fPIC lines because it is not portable.
This commit is contained in:
parent
551d0d1935
commit
33d80e2d72
@ -55,8 +55,5 @@ set(HYPRE_superlu_SRCS
|
||||
|
||||
add_definitions(-DNO_TIMER)
|
||||
add_library(HYPRE_superlu OBJECT ${HYPRE_superlu_SRCS})
|
||||
if(BUILD_SHARED_LIBS)
|
||||
set_target_properties(HYPRE_superlu PROPERTIES COMPILE_FLAGS "-fPIC")
|
||||
endif()
|
||||
|
||||
install (FILES ${HYPRE_superlu_HEADERS} DESTINATION include)
|
||||
|
||||
@ -62,8 +62,5 @@ set(HYPRE_fei_SRCS
|
||||
)
|
||||
|
||||
add_library(HYPRE_fei OBJECT ${HYPRE_fei_SRCS})
|
||||
if(BUILD_SHARED_LIBS)
|
||||
set_target_properties(HYPRE_fei PROPERTIES COMPILE_FLAGS "-fPIC")
|
||||
endif()
|
||||
|
||||
install (FILES ${HYPRE_fei_HEADERS} DESTINATION include)
|
||||
|
||||
@ -43,6 +43,3 @@ set(HYPRE_mli_SRCS
|
||||
)
|
||||
|
||||
add_library(HYPRE_mli OBJECT ${HYPRE_mli_SRCS})
|
||||
if(BUILD_SHARED_LIBS)
|
||||
set_target_properties(HYPRE_mli PROPERTIES COMPILE_FLAGS "-fPIC")
|
||||
endif()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user