Include all necessary information to link in standard variables
Users shouldn't be required to add anything that the standard variables in their own CMakeLists.
This commit is contained in:
parent
85a8ef5ead
commit
5d54f2728b
@ -135,7 +135,8 @@ mark_as_advanced(SUPERLU_INCLUDE_DIR SUPERLU_LIBRARY)
|
||||
# if both headers and library are found, store results
|
||||
if(SUPERLU_FOUND)
|
||||
set(SUPERLU_INCLUDE_DIRS ${SUPERLU_INCLUDE_DIR})
|
||||
set(SUPERLU_LIBRARIES ${SUPERLU_LIBRARY})
|
||||
set(SUPERLU_LIBRARIES ${SUPERLU_LIBRARY} ${BLAS_LIBRARIES})
|
||||
set(SUPERLU_DEFINITIONS "-DENABLE_SUPERLU=1")
|
||||
# log result
|
||||
file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
|
||||
"Determing location of ${SUPERLU_WITH_VERSION} succeded:\n"
|
||||
|
Loading…
Reference in New Issue
Block a user