Skip to content
Snippets Groups Projects
Commit 3686d0ce authored by Jason Sarich's avatar Jason Sarich Committed by becker33
Browse files

have trilinos search for static libraries first when not using shared variant (#2896)

parent 162be154
No related branches found
No related tags found
No related merge requests found
...@@ -157,6 +157,10 @@ def cmake_args(self): ...@@ -157,6 +157,10 @@ def cmake_args(self):
'DEBUG' if '+debug' in spec else 'RELEASE'), 'DEBUG' if '+debug' in spec else 'RELEASE'),
'-DBUILD_SHARED_LIBS:BOOL=%s' % ( '-DBUILD_SHARED_LIBS:BOOL=%s' % (
'ON' if '+shared' in spec else 'OFF'), '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', '-DTPL_ENABLE_MPI:BOOL=ON',
'-DMPI_BASE_DIR:PATH=%s' % spec['mpi'].prefix, '-DMPI_BASE_DIR:PATH=%s' % spec['mpi'].prefix,
'-DTPL_ENABLE_BLAS=ON', '-DTPL_ENABLE_BLAS=ON',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment