mirror of https://github.com/microsoft/vcpkg.git
59 lines
2.1 KiB
Diff
59 lines
2.1 KiB
Diff
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
|
index 75df37a..4e31cd3 100644
|
|
--- a/src/CMakeLists.txt
|
|
+++ b/src/CMakeLists.txt
|
|
@@ -103,19 +103,19 @@ else( )
|
|
endif( )
|
|
|
|
# Define a version for the code
|
|
-if( NOT DEFINED clBLAS_VERSION_MAJOR )
|
|
- set( clBLAS_VERSION_MAJOR 2 )
|
|
+if( NOT DEFINED CLBLAS_VERSION_MAJOR )
|
|
+ set( CLBLAS_VERSION_MAJOR 2 )
|
|
endif( )
|
|
|
|
-if( NOT DEFINED clBLAS_VERSION_MINOR )
|
|
- set( clBLAS_VERSION_MINOR 12 )
|
|
+if( NOT DEFINED CLBLAS_VERSION_MINOR )
|
|
+ set( CLBLAS_VERSION_MINOR 12 )
|
|
endif( )
|
|
|
|
-if( NOT DEFINED clBLAS_VERSION_PATCH )
|
|
- set( clBLAS_VERSION_PATCH 0 )
|
|
+if( NOT DEFINED CLBLAS_VERSION_PATCH )
|
|
+ set( CLBLAS_VERSION_PATCH 0 )
|
|
endif( )
|
|
|
|
-set( clBLAS_VERSION "${clBLAS_VERSION_MAJOR}.${clBLAS_VERSION_MINOR}.${clBLAS_VERSION_PATCH}")
|
|
+set( clBLAS_VERSION "${CLBLAS_VERSION_MAJOR}.${CLBLAS_VERSION_MINOR}.${CLBLAS_VERSION_PATCH}")
|
|
|
|
# Increment this if we break backward compatibility.
|
|
set( clBLAS_SOVERSION 2 )
|
|
@@ -425,9 +425,9 @@ endif( )
|
|
|
|
set( CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${clBLAS_VERSION}-${CMAKE_HOST_SYSTEM_NAME}-Source")
|
|
|
|
-set( CPACK_PACKAGE_VERSION_MAJOR ${clBLAS_VERSION_MAJOR} )
|
|
-set( CPACK_PACKAGE_VERSION_MINOR ${clBLAS_VERSION_MINOR} )
|
|
-set( CPACK_PACKAGE_VERSION_PATCH ${clBLAS_VERSION_PATCH} )
|
|
+set( CPACK_PACKAGE_VERSION_MAJOR ${CLBLAS_VERSION_MAJOR} )
|
|
+set( CPACK_PACKAGE_VERSION_MINOR ${CLBLAS_VERSION_MINOR} )
|
|
+set( CPACK_PACKAGE_VERSION_PATCH ${CLBLAS_VERSION_PATCH} )
|
|
set( CPACK_PACKAGE_DESCRIPTION_SUMMARY "OpenCL implementation of a BLAS library")
|
|
set( CPACK_PACKAGE_VENDOR "Neutral")
|
|
set( CPACK_SOURCE_IGNORE_FILES "/\\\\.hg/;/\\\\.svn/;/\\\\.git/" )
|
|
diff --git a/src/clBLAS.version.h.in b/src/clBLAS.version.h.in
|
|
index a05cbce..ab22a87 100644
|
|
--- a/src/clBLAS.version.h.in
|
|
+++ b/src/clBLAS.version.h.in
|
|
@@ -17,6 +17,6 @@
|
|
|
|
/* the configured version and settings for clblas
|
|
*/
|
|
-#define clblasVersionMajor @clBLAS_VERSION_MAJOR@
|
|
-#define clblasVersionMinor @clBLAS_VERSION_MINOR@
|
|
-#define clblasVersionPatch @clBLAS_VERSION_PATCH@
|
|
+#define clblasVersionMajor @CLBLAS_VERSION_MAJOR@
|
|
+#define clblasVersionMinor @CLBLAS_VERSION_MINOR@
|
|
+#define clblasVersionPatch @CLBLAS_VERSION_PATCH@
|