Commit 5cee58c7 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: unrestrict CMake toolchain in native case

We can use the native libraries when building a CMake project, like
taglib or srt
parent fcf79a69
......@@ -502,8 +502,10 @@ endif
echo "set(CMAKE_CXX_COMPILER $(CXX))" >> $@
echo "set(CMAKE_FIND_ROOT_PATH $(PREFIX))" >> $@
echo "set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)" >> $@
ifdef HAVE_CROSS_COMPILE
echo "set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)" >> $@
echo "set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)" >> $@
endif
# Default pattern rules
.sum-%: $(SRC)/%/SHA512SUMS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment