aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorWolfgang Schupp <w.schupp@a1.net>2016-12-16 12:39:51 +0100
committerGitHub <noreply@github.com>2016-12-16 12:39:51 +0100
commite006492671d5493925dae3dd1eae6a8a95a5f5fa (patch)
treea5295a4a948106e17927de3c84415c7c6538905b /project
parentacfd711c3953b3191feac40a68af2825817e9787 (diff)
parente9d6d921e8adb37d3262b5640bcfa4800765d47b (diff)
Merge pull request #11185 from maxnet/fix-libdvd-crossbuild
libdvd: fix setting compiler when cross-compiling
Diffstat (limited to 'project')
-rw-r--r--project/cmake/modules/FindLibDvd.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/project/cmake/modules/FindLibDvd.cmake b/project/cmake/modules/FindLibDvd.cmake
index 59c6f9638b..1f02b5f226 100644
--- a/project/cmake/modules/FindLibDvd.cmake
+++ b/project/cmake/modules/FindLibDvd.cmake
@@ -76,7 +76,7 @@ if(NOT WIN32)
endforeach()
set(DVDREAD_CFLAGS "${DVDREAD_CFLAGS} -I${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/libdvd/include")
- if(KODI_DEPENDSBUILD)
+ if(CMAKE_CROSSCOMPILING)
set(EXTRA_FLAGS "CC=${CMAKE_C_COMPILER}")
endif()