Skip to content

Commit

Permalink
Use target_compile_definitions for HAVE_LAPACK_CONFIG_H=1
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-hld committed Jan 30, 2024
1 parent ac2269a commit 2cc6617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ elseif( ${SAF_PERFORMANCE_LIB} MATCHES "SAF_USE_OPEN_BLAS_AND_LAPACKE")
# Add header search paths if they are defined
if(DEFINED OPENBLAS_HEADER_PATH)
if(MSVC)
add_compile_definitions(HAVE_LAPACK_CONFIG_H)
target_compile_definitions(${PROJECT_NAME} PUBLIC HAVE_LAPACK_CONFIG_H=1)
endif()
target_include_directories(${PROJECT_NAME} PUBLIC ${OPENBLAS_HEADER_PATH})
endif()
Expand Down

0 comments on commit 2cc6617

Please sign in to comment.