mirror of
https://github.com/jellyfin/jellyfin-media-player.git
synced 2024-11-23 05:59:43 +00:00
Cmake : allow to use a toolchain cmake file if any
This allows a bit painless dev env on Embedded version.
This commit is contained in:
parent
cbdf346101
commit
d25d77797f
@ -1,4 +1,10 @@
|
||||
cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
|
||||
|
||||
# use a toolchain file if any for Embedded
|
||||
if (EXISTS "${CMAKE_SOURCE_DIR}/toolchain.cmake")
|
||||
set(CMAKE_TOOLCHAIN_FILE "${CMAKE_SOURCE_DIR}/toolchain.cmake")
|
||||
endif()
|
||||
|
||||
project(PlexMediaPlayer CXX C)
|
||||
|
||||
# we want this to be able to run clang-tidy
|
||||
|
Loading…
Reference in New Issue
Block a user