Skip to content

Commit b883da3

Browse files
committed
cblas: add include directory to target
1 parent e774b43 commit b883da3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CBLAS/src/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -120,5 +120,9 @@ set_target_properties(
120120
VERSION ${LAPACK_VERSION}
121121
SOVERSION ${LAPACK_MAJOR_VERSION}
122122
)
123+
target_include_directories(cblas PUBLIC
124+
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include>
125+
$<INSTALL_INTERFACE:include>
126+
)
123127
target_link_libraries(cblas PRIVATE ${BLAS_LIBRARIES})
124128
lapack_install_library(cblas)

0 commit comments

Comments
 (0)