Browse Source

Reset opencl flags if not detected to prevent build failure without opencl.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
da764e5441
  1. 3
      configure.ac

3
configure.ac

@ -126,6 +126,9 @@ if test "x$opencl" != xno; then @@ -126,6 +126,9 @@ if test "x$opencl" != xno; then
found_opencl=0])
LIBS=$SAVED_LIBS
CFLAGS=$SAVED_CFLAGS
else
OPENCL_FLAGS=""
OPENCL_LIBS=""
fi
AC_CHECK_LIB(pthread, pthread_create, ,

Loading…
Cancel
Save