Added target_include_directories()
authorScott Thornton <wsttiger@gmail.com>
Thu, 2 Aug 2018 19:58:52 +0000 (14:58 -0500)
committerScott Thornton <wsttiger@gmail.com>
Thu, 2 Aug 2018 19:58:52 +0000 (14:58 -0500)
CMakeLists.txt

index 4dc18da..20ce02e 100644 (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)