Skip to content

Commit

Permalink
Merge pull request #11661 from bkuhls/libdvd_cross
Browse files Browse the repository at this point in the history
[Krypton] libdvd: fix setting compiler when cross-compiling, backport 11185
  • Loading branch information
MartijnKaijser authored Feb 14, 2017
2 parents af05463 + 0e78acb commit b0bc68b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/cmake/modules/FindLibDvd.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit b0bc68b

Please sign in to comment.