cmake: use the standard CMake flag to drive the shared object build (#2057)

* cmake: use the standard CMake flag to drive the shared object build

* Add deprecated warning and build always shared test library
This commit is contained in:
Yegor Yefremov
2018-03-12 20:15:24 +01:00
committed by Joerg-Christian Boehme
parent 4203484997
commit 742f4578fc
24 changed files with 42 additions and 56 deletions

View File

@@ -11,7 +11,7 @@ POCO_HEADERS_AUTO( MYSQL_SRCS ${HDRS_G})
add_definitions(-DTHREADSAFE -DNO_TCL)
add_library( "${LIBNAME}" ${LIB_MODE} ${MYSQL_SRCS} )
add_library( "${LIBNAME}" ${MYSQL_SRCS} )
add_library( "${POCO_LIBNAME}" ALIAS "${LIBNAME}")
set_target_properties( "${LIBNAME}"
PROPERTIES