Skip to content

Commit 2a9a938

Browse files
committed
Added target_include_directories()
1 parent 8ebf541 commit 2a9a938

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ endif()
150150

151151
# add objects to the openblas lib
152152
add_library(${OpenBLAS_LIBNAME} ${LA_SOURCES} ${LAPACKE_SOURCES} ${RELA_SOURCES} ${TARGET_OBJS} ${OpenBLAS_DEF_FILE})
153+
target_include_directories(${OpenBLAS_LIBNAME} INTERFACE $<INSTALL_INTERFACE:include>)
153154

154155
# Android needs to explicitly link against libm
155156
if(ANDROID)

0 commit comments

Comments
 (0)