Added target_include_directories()
This commit is contained in:
parent
8ebf541e97
commit
2a9a9389ef
|
@ -150,6 +150,7 @@ endif()
|
||||||
|
|
||||||
# add objects to the openblas lib
|
# add objects to the openblas lib
|
||||||
add_library(${OpenBLAS_LIBNAME} ${LA_SOURCES} ${LAPACKE_SOURCES} ${RELA_SOURCES} ${TARGET_OBJS} ${OpenBLAS_DEF_FILE})
|
add_library(${OpenBLAS_LIBNAME} ${LA_SOURCES} ${LAPACKE_SOURCES} ${RELA_SOURCES} ${TARGET_OBJS} ${OpenBLAS_DEF_FILE})
|
||||||
|
target_include_directories(${OpenBLAS_LIBNAME} INTERFACE $<INSTALL_INTERFACE:include>)
|
||||||
|
|
||||||
# Android needs to explicitly link against libm
|
# Android needs to explicitly link against libm
|
||||||
if(ANDROID)
|
if(ANDROID)
|
||||||
|
|
Loading…
Reference in New Issue