avoid cmake complaining about using VERSION keyword (#275)
[cmake] CMake Error at CMakeLists.txt:190 (set_target_properties): [cmake] INTERFACE_LIBRARY targets may only have whitelisted properties. The [cmake] property "VERSION" is not allowed. Signed-off-by: Fiorentino, Stefano <stefano.fiorentino@adesso.ch> Co-authored-by: Fiorentino, Stefano <stefano.fiorentino@adesso.ch>
This commit is contained in:
parent
b2ed37f5f5
commit
3636701fc2
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@ cmake-build-debug/
|
|||||||
.idea/
|
.idea/
|
||||||
.vs/
|
.vs/
|
||||||
.vscode/
|
.vscode/
|
||||||
|
.cache/
|
||||||
@ -186,12 +186,13 @@ install(
|
|||||||
#
|
#
|
||||||
# Install targets
|
# Install targets
|
||||||
#
|
#
|
||||||
|
if (BUILD_UVW_LIBS)
|
||||||
set_target_properties(
|
set_target_properties(
|
||||||
uvw PROPERTIES
|
uvw PROPERTIES
|
||||||
VERSION ${UVW_VERSION_MAJOR}.${UVW_VERSION_MINOR}.${UVW_VERSION_PATCH}
|
VERSION ${UVW_VERSION_MAJOR}.${UVW_VERSION_MINOR}.${UVW_VERSION_PATCH}
|
||||||
SOVERSION ${UVW_VERSION_MAJOR}
|
SOVERSION ${UVW_VERSION_MAJOR}
|
||||||
)
|
)
|
||||||
|
endif()
|
||||||
install(
|
install(
|
||||||
EXPORT uvwConfig
|
EXPORT uvwConfig
|
||||||
NAMESPACE uvw::
|
NAMESPACE uvw::
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user