We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 31a3668 + 1c163c8 commit 2ed4c99Copy full SHA for 2ed4c99
CMakeLists.txt
@@ -10,6 +10,10 @@ set(
10
${LAPACK_MAJOR_VERSION}.${LAPACK_MINOR_VERSION}.${LAPACK_PATCH_VERSION}
11
)
12
13
+# Allow setting a prefix for the library names
14
+set(CMAKE_STATIC_LIBRARY_PREFIX "lib${LIBRARY_PREFIX}")
15
+set(CMAKE_SHARED_LIBRARY_PREFIX "lib${LIBRARY_PREFIX}")
16
+
17
# Add the CMake directory for custom CMake modules
18
set(CMAKE_MODULE_PATH "${LAPACK_SOURCE_DIR}/CMAKE" ${CMAKE_MODULE_PATH})
19
@@ -444,7 +448,9 @@ endif()
444
448
set(LAPACK_INSTALL_EXPORT_NAME ${LAPACK_INSTALL_EXPORT_NAME_CACHE})
445
449
unset(LAPACK_INSTALL_EXPORT_NAME_CACHE)
446
450
447
-add_subdirectory(LAPACKE)
451
+if(LAPACKE)
452
+ add_subdirectory(LAPACKE)
453
+endif()
454
455
456
#-------------------------------------
0 commit comments