Remove unused code in CMakeLists 94/113394/2
authorPiotr Sawicki <p.sawicki2@partner.samsung.com>
Tue, 7 Feb 2017 09:15:56 +0000 (10:15 +0100)
committerPiotr Sawicki <p.sawicki2@partner.samsung.com>
Tue, 7 Feb 2017 09:47:08 +0000 (10:47 +0100)
Change-Id: I31210f92e62e5fce7035b4e5693c58fda8b29e5a

src/CMakeLists.txt

index 8d8baddce3f873c297337df513b654ceaca137bf..2e022fcaa402bd0dd08e56ee0ee185b1e3cc9587 100644 (file)
@@ -1,5 +1,5 @@
 #
-#  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>
 #
@@ -45,13 +45,7 @@ SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES
                       VERSION    ${_LIB_VERSION_})
 
 ## Link libraries ##############################################################
-PKG_CHECK_MODULES(YACA_DEPS REQUIRED openssl)
-
-PKG_CHECK_MODULES(CAPI_BASE_COMMON capi-base-common)
-IF (CAPI_BASE_COMMON_FOUND)
-    ADD_DEFINITIONS(-DCAPI_BASE_COMMON_PRESENT)
-    INCLUDE_DIRECTORIES(SYSTEM ${CAPI_BASE_COMMON_INCLUDE_DIRS})
-ENDIF()
+PKG_CHECK_MODULES(YACA_DEPS REQUIRED openssl capi-base-common)
 
 FIND_PACKAGE (Threads)