#
-# Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+# Copyright (c) 2016 - 2017 Samsung Electronics Co., Ltd All Rights Reserved
#
# Contact: Krzysztof Jackiewicz <k.jackiewicz@samsung.com>
#
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES
SOVERSION ${_LIB_SOVERSION_}
VERSION ${_LIB_VERSION_})
+ADD_LIBRARY(${PROJECT_NAME}-static STATIC ${SRCS} ${HEADERS})
+SET_TARGET_PROPERTIES(${PROJECT_NAME}-static PROPERTIES
+ OUTPUT_NAME ${PROJECT_NAME})
## Link libraries ##############################################################
-PKG_CHECK_MODULES(YACA_DEPS REQUIRED openssl capi-base-common)
+PKG_CHECK_MODULES(YACA_DEPS REQUIRED openssl3 capi-base-common)
FIND_PACKAGE (Threads)
INSTALL(TARGETS ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}
COMPONENT RuntimeLibraries)
+INSTALL(TARGETS ${PROJECT_NAME}-static
+ DESTINATION ${LIB_INSTALL_DIR}
+ COMPONENT DevelopmentLibraries)
INSTALL(FILES ${HEADERS}
DESTINATION ${INCLUDE_INSTALL_DIR}/yaca)