Skip to content

Commit 081ceb3

Browse files
authored
Propagate version number for openblas_get_config
1 parent a29ec45 commit 081ceb3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/system.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,8 @@ if (MIXED_MEMORY_ALLOCATION)
310310
set(CCOMMON_OPT "${CCOMMON_OPT} -DMIXED_MEMORY_ALLOCATION")
311311
endif ()
312312

313+
set(CCOMMON_OPT "${CCOMMON_OPT} -DVERSION=\"\\\"${OpenBLAS_VERSION}\\\"\"")
314+
313315
set(REVISION "-r${OpenBLAS_VERSION}")
314316
set(MAJOR_VERSION ${OpenBLAS_MAJOR_VERSION})
315317

0 commit comments

Comments
 (0)