aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorfuzzard <bmurphy@bcmcs.net>2019-05-19 11:51:11 +1000
committerfuzzard <bmurphy@bcmcs.net>2019-05-25 08:17:21 +1000
commit5d7938dcba9700c9d41eeea24b88e2f7201e089d (patch)
treeea52f034557a77f0527fb1feec0231a7a91fb2e6 /CMakeLists.txt
parent8da78918284db2279be3c06fdeec06b3c14ff564 (diff)
[posix] platformdefs.h
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 10362cdb9d..ae99258f08 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -87,6 +87,10 @@ set(INCLUDES ${CMAKE_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/xbmc/cores/VideoPlayer
${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR})
+if (NOT PLATFORMDEFS_DIR STREQUAL "")
+ list(APPEND INCLUDES ${CMAKE_SOURCE_DIR}/xbmc/${PLATFORMDEFS_DIR})
+endif()
+
find_package(PkgConfig)
if(KODI_DEPENDSBUILD)
if(PKG_CONFIG_EXECUTABLE)