File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 22
22
23
23
cmake_minimum_required (VERSION 3.5 )
24
24
project (igfx_gmmumd )
25
+
26
+ # GmmLib Api Version used for so naming
27
+ set (GMMLIB_API_MAJOR_VERSION 2 )
28
+ set (GMMLIB_API_MINOR_VERSION 0 )
29
+
25
30
if (NOT DEFINED MAJOR_VERSION )
26
31
set (MAJOR_VERSION 2 )
27
32
endif ()
@@ -410,8 +415,8 @@ target_link_libraries( ${GMM_LIB_DLL_NAME}
410
415
)
411
416
else ()
412
417
set_target_properties (${GMM_LIB_DLL_NAME} PROPERTIES OUTPUT_NAME "igdgmm" )
413
- set_target_properties (${GMM_LIB_DLL_NAME} PROPERTIES VERSION ${MAJOR_VERSION } .${MINOR_VERSION }.${PATCH_VERSION} )
414
- set_target_properties (${GMM_LIB_DLL_NAME} PROPERTIES SOVERSION ${MAJOR_VERSION } )
418
+ set_target_properties (${GMM_LIB_DLL_NAME} PROPERTIES VERSION ${GMMLIB_API_MAJOR_VERSION } .${GMMLIB_API_MINOR_VERSION }.${PATCH_VERSION} )
419
+ set_target_properties (${GMM_LIB_DLL_NAME} PROPERTIES SOVERSION ${GMMLIB_API_MAJOR_VERSION } )
415
420
416
421
endif ()
417
422
You can’t perform that action at this time.
0 commit comments