Browse Source

Bugfix: fix linking when OpenCL is not detected

Luke Dashjr 14 years ago
parent
commit
014d43b06a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      configure.ac

+ 2 - 0
configure.ac

@@ -123,6 +123,8 @@ if test "x$opencl" != xno; then
 	found_opencl=1
 	],
 	[AC_MSG_RESULT(no)
+	OPENCL_FLAGS=
+	OPENCL_LIBS=
 	found_opencl=0])
 	LIBS=$SAVED_LIBS
 	CFLAGS=$SAVED_CFLAGS