File tree Expand file tree Collapse file tree 1 file changed +4
-21
lines changed Expand file tree Collapse file tree 1 file changed +4
-21
lines changed Original file line number Diff line number Diff line change @@ -44,28 +44,11 @@ if(BUILD_TESTING)
44
44
add_subdirectory (examples )
45
45
endif ()
46
46
47
- # Export cblas targets from the
48
- # install tree, if any.
49
- set (_cblas_config_install_guard_target "" )
50
- if (ALL_TARGETS )
51
- install (EXPORT ${CBLASLIB} -targets
52
- DESTINATION ${CMAKE_INSTALL_LIBDIR} /cmake/${CBLASLIB}-${LAPACK_VERSION}
53
- COMPONENT Development
54
- )
55
- # Choose one of the cblas targets to use as a guard for
56
- # cblas-config.cmake to load targets from the install tree.
57
- list (GET ALL_TARGETS 0 _cblas_config_install_guard_target )
58
- endif ()
59
-
60
- # Export cblas targets from the build tree, if any.
61
- set (_cblas_config_build_guard_target "" )
62
- if (ALL_TARGETS )
63
- export (TARGETS ${ALL_TARGETS} FILE ${CBLASLIB} -targets.cmake )
47
+ install (EXPORT ${CBLASLIB} -targets
48
+ DESTINATION ${CMAKE_INSTALL_LIBDIR} /cmake/${CBLASLIB}-${LAPACK_VERSION}
49
+ COMPONENT Development
50
+ )
64
51
65
- # Choose one of the cblas targets to use as a guard
66
- # for cblas-config.cmake to load targets from the build tree.
67
- list (GET ALL_TARGETS 0 _cblas_config_build_guard_target )
68
- endif ()
69
52
70
53
configure_file (${CMAKE_CURRENT_SOURCE_DIR} /cmake/cblas-config-version.cmake.in
71
54
${LAPACK_BINARY_DIR} /${CBLASLIB}-config-version.cmake @ONLY )
You can’t perform that action at this time.
0 commit comments