have trilinos search for static libraries first when not using shared variant (#2896)
This commit is contained in:
parent
162be154d2
commit
3686d0ceb3
@ -157,6 +157,10 @@ def cmake_args(self):
|
||||
'DEBUG' if '+debug' in spec else 'RELEASE'),
|
||||
'-DBUILD_SHARED_LIBS:BOOL=%s' % (
|
||||
'ON' if '+shared' in spec else 'OFF'),
|
||||
'-DTPL_FIND_SHARED_LIBS:BOOL=%s' % (
|
||||
'ON' if '+shared' in spec else 'OFF'),
|
||||
'-DTrilinos_LINK_SEARCH_START_STATIC:BOOL=%s' % (
|
||||
'OFF' if '+shared' in spec else 'ON'),
|
||||
'-DTPL_ENABLE_MPI:BOOL=ON',
|
||||
'-DMPI_BASE_DIR:PATH=%s' % spec['mpi'].prefix,
|
||||
'-DTPL_ENABLE_BLAS=ON',
|
||||
|
Loading…
Reference in New Issue
Block a user