mirror of https://github.com/davisking/dlib.git
75961ed1ac
Set `CUDA_PROPAGATE_HOST_FLAGS=OFF` in FindCUDA.cmake to avoid duplicate flag errors in nvcc that can occur when host flag forwarding is enabled and `-std=c++11` is set in `CMAKE_CXX_FLAGS` in the operative toolchain. ``` # Override the FindCUDA.cmake setting to avoid duplication of host flags if using a toolchain: option(CUDA_PROPAGATE_HOST_FLAGS "Propage C/CXX_FLAGS and friends to the host compiler via -Xcompile" OFF) ``` |
||
---|---|---|
.. | ||
test_for_cpp11 | ||
test_for_cuda | ||
test_for_cudnn | ||
test_for_neon | ||
add_global_compiler_switch.cmake | ||
add_python_module | ||
check_if_neon_available.cmake | ||
cmake_find_blas.txt | ||
dlib.pc.in | ||
dlibConfig.cmake.in | ||
release_build_by_default | ||
set_compiler_specific_options.cmake | ||
tell_visual_studio_to_use_static_runtime.cmake | ||
use_cpp_11.cmake |