aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2019-03-21 14:19:19 +0100
committerOlaf Hering <olaf@aepfle.de>2019-03-21 14:19:19 +0100
commit8b1f880b17347f3fc7c979a29ba9555b4f1bbd7f (patch)
tree90279a230679dfca3c5bc1c9a00cb45f61863dbf /CMakeLists.txt
parent8f348eb7aaba0a295c65fd93fa37bebc54ccbdf6 (diff)
[cmake] find_package(PkgConfig) sets required variables
Per cmake 3.4 documentation, FindPkgConfig does set the used variables. There is no need to set them again. Remove PKG_CONFIG_EXECUTABLE check Remove setting of PKG_CONFIG_FOUND Signed-off-by: Olaf Hering <olaf@aepfle.de>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 0 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ec82e148d1..e60f2753df 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -92,12 +92,6 @@ set(INCLUDES ${CMAKE_SOURCE_DIR}
${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR})
find_package(PkgConfig)
-if(KODI_DEPENDSBUILD)
- if(PKG_CONFIG_EXECUTABLE)
- set(PKG_CONFIG_FOUND TRUE)
- endif()
-endif()
-
find_package(Threads REQUIRED QUIET)
list(APPEND DEPLIBS ${CMAKE_THREAD_LIBS_INIT})