cmake: added library version information to the targets.

This commit is contained in:
2018-06-02 20:45:04 +02:00
parent 610aab1773
commit b360129ee3
15 changed files with 112 additions and 2 deletions

View File

@ -31,6 +31,13 @@ add_library(PNL_PippardFitter SHARED
PNL_StartupHandler.cpp
PNL_StartupHandlerDict.cxx
)
#--- set target properties, e.g. version --------------------------------------
set_target_properties(PNL_PippardFitter
PROPERTIES
VERSION ${PNL_PIPPARDFITTER_VERSION}
)
#--- make sure that the include directory is found ----------------------------
target_include_directories(
PNL_PippardFitter BEFORE PRIVATE