dlib/dlib/cmake_utils
David Hirvonen 75961ed1ac CUDA_PROPAGATE_HOST_FLAGS=OFF in FindCUDA.cmake for try_compile tests (#1048)
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)
```
2018-01-04 14:17:00 -05:00
..
test_for_cpp11 Change minimum CMake version that supports the introduced features 2017-02-27 18:23:28 +01:00
test_for_cuda CUDA_PROPAGATE_HOST_FLAGS=OFF in FindCUDA.cmake for try_compile tests (#1048) 2018-01-04 14:17:00 -05:00
test_for_cudnn CUDA_PROPAGATE_HOST_FLAGS=OFF in FindCUDA.cmake for try_compile tests (#1048) 2018-01-04 14:17:00 -05:00
test_for_neon Check for __ARM_NEON__ for libpng (#679) 2017-07-05 11:53:48 -04:00
add_global_compiler_switch.cmake Some cmake script cleanup and refactoring. 2017-10-16 20:55:28 -04:00
add_python_module Updated messages about what versions of visual studio have good enough C++11 support. 2017-12-17 09:02:07 -05:00
check_if_neon_available.cmake Renamed a few things to make the code and messages clearer. 2017-07-05 12:12:43 -04:00
cmake_find_blas.txt Fixed problem with openmp linking 2017-12-18 15:07:41 -05:00
dlib.pc.in CMake improvements (#539) 2017-04-16 12:14:21 -04:00
dlibConfig.cmake.in Remove explicit specification of library path in dlibConfig.cmake (#935) 2017-11-09 05:36:20 -05:00
release_build_by_default
set_compiler_specific_options.cmake Make sure intel architecture is properly detected (#1024) 2017-12-20 11:28:39 -05:00
tell_visual_studio_to_use_static_runtime.cmake Change minimum CMake version that supports the introduced features 2017-02-27 18:23:28 +01:00
use_cpp_11.cmake CMake tweaks to avoid errors in visual studio 2017-10-16 21:11:16 -04:00