Added target_include_directories()

This commit is contained in:
Scott Thornton 2018-08-02 14:58:52 -05:00
parent 8ebf541e97
commit 2a9a9389ef
1 changed files with 1 additions and 0 deletions

View File

@ -150,6 +150,7 @@ endif()
# add objects to the openblas lib
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
if(ANDROID)