Unverified Commit beab799a authored by Mark Lindner's avatar Mark Lindner Committed by GitHub

Merge pull request #184 from madebr/patch-1

cmake: set VERSION + SOVERSION property on libraries
parents 738ed7eb 42be0bd5
......@@ -39,9 +39,13 @@ add_library(${libname}++ ${libsrc_cpp} ${libinc_cpp})
set_target_properties(${libname}
PROPERTIES LINKER_LANGUAGE C
SOVERSION "${libconfig_VERSION_MAJOR}"
VERSION "${libconfig_VERSION}"
PUBLIC_HEADER "${libinc}")
set_target_properties(${libname}++
PROPERTIES LINKER_LANGUAGE CXX
SOVERSION "${libconfig_VERSION_MAJOR}"
VERSION "${libconfig_VERSION}"
PUBLIC_HEADER "${libinc_cpp}")
#check_symbol_exists(uselocale "locale.h" HAVE_USELOCALE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment