File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -150,6 +150,7 @@ endif()
150
150
151
151
# add objects to the openblas lib
152
152
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> )
153
154
154
155
# Android needs to explicitly link against libm
155
156
if (ANDROID )
@@ -169,6 +170,7 @@ endif()
169
170
# Set output for libopenblas
170
171
set_target_properties ( ${OpenBLAS_LIBNAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR} /lib )
171
172
set_target_properties ( ${OpenBLAS_LIBNAME} PROPERTIES LIBRARY_OUTPUT_NAME_DEBUG "${OpenBLAS_LIBNAME} _d" )
173
+ set_target_properties ( ${OpenBLAS_LIBNAME} PROPERTIES EXPORT_NAME "OpenBLAS" )
172
174
173
175
foreach (OUTPUTCONFIG ${CMAKE_CONFIGURATION_TYPES} )
174
176
string ( TOUPPER ${OUTPUTCONFIG} OUTPUTCONFIG )
You can’t perform that action at this time.
0 commit comments