cmake: added library version information to the targets.
This commit is contained in:
7
src/external/libZFRelaxation/CMakeLists.txt
vendored
7
src/external/libZFRelaxation/CMakeLists.txt
vendored
@ -29,6 +29,13 @@ add_library(ZFRelaxation SHARED
|
||||
ZFRelaxation.cpp
|
||||
ZFRelaxationDict.cxx
|
||||
)
|
||||
|
||||
#--- set target properties, e.g. version --------------------------------------
|
||||
set_target_properties(ZFRelaxation
|
||||
PROPERTIES
|
||||
VERSION "1.0.0"
|
||||
)
|
||||
|
||||
#--- make sure that the include directory is found ----------------------------
|
||||
target_include_directories(
|
||||
ZFRelaxation BEFORE PRIVATE
|
||||
|
Reference in New Issue
Block a user