mirror of
https://github.com/QuasarApp/CMake.git
synced 2025-04-27 02:04:42 +00:00
added a new function for sets version for the custom target
This commit is contained in:
parent
93ff4e899e
commit
bc2f5bc103
@ -21,3 +21,14 @@ function(setVersion maj min rev)
|
||||
)
|
||||
|
||||
endfunction()
|
||||
|
||||
function(setVersionForTarget TERAGET maj min rev)
|
||||
|
||||
SET_TARGET_PROPERTIES(
|
||||
${TERAGET}
|
||||
PROPERTIES
|
||||
VERSION "${maj}.${min}.${rev}"
|
||||
SOVERSION "${maj}.${min}.${rev}"
|
||||
)
|
||||
|
||||
endfunction()
|
||||
|
Loading…
x
Reference in New Issue
Block a user