Skip to content

Commit

Permalink
Merge 1c163c8 into 31a3668
Browse files Browse the repository at this point in the history
  • Loading branch information
joseeroman authored Apr 2, 2023
2 parents 31a3668 + 1c163c8 commit 2ed4c99
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ set(
${LAPACK_MAJOR_VERSION}.${LAPACK_MINOR_VERSION}.${LAPACK_PATCH_VERSION}
)

# Allow setting a prefix for the library names
set(CMAKE_STATIC_LIBRARY_PREFIX "lib${LIBRARY_PREFIX}")
set(CMAKE_SHARED_LIBRARY_PREFIX "lib${LIBRARY_PREFIX}")

# Add the CMake directory for custom CMake modules
set(CMAKE_MODULE_PATH "${LAPACK_SOURCE_DIR}/CMAKE" ${CMAKE_MODULE_PATH})

Expand Down Expand Up @@ -444,7 +448,9 @@ endif()
set(LAPACK_INSTALL_EXPORT_NAME ${LAPACK_INSTALL_EXPORT_NAME_CACHE})
unset(LAPACK_INSTALL_EXPORT_NAME_CACHE)

add_subdirectory(LAPACKE)
if(LAPACKE)
add_subdirectory(LAPACKE)
endif()


#-------------------------------------
Expand Down

0 comments on commit 2ed4c99

Please sign in to comment.