fixed CUDA_FAST_MATH flag

This commit is contained in:
Vladislav Vinogradov 2012-10-12 12:45:50 +04:00
parent a390c1e2e6
commit 8abcad6b00

View File

@ -81,7 +81,7 @@ if(CUDA_FOUND)
OCV_OPTION(CUDA_FAST_MATH "Enable --use_fast_math for CUDA compiler " OFF)
if(ENABLE_CUDA_MATH)
if(CUDA_FAST_MATH)
set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} --use_fast_math)
endif()