1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-03-10 04:31:03 +00:00

Cope with both ATI stream and AMD APP SDK roots being set when building.

This commit is contained in:
Con Kolivas 2012-10-17 23:14:39 +11:00
parent 3fce32f494
commit 8fb777a2dd

View File

@ -114,7 +114,9 @@ fi
if test "x$ATISTREAMSDKROOT" != x; then
OPENCL_FLAGS="-I$ATISTREAMSDKROOT/include $OPENCL_FLAGS"
OPENCL_LIBS="-L$ATISTREAMSDKROOT/lib/$ARCH_DIR $OPENCL_LIBS"
elif test "x$AMDAPPSDKROOT" != x; then
fi
if test "x$AMDAPPSDKROOT" != x; then
OPENCL_FLAGS="-I$AMDAPPSDKROOT/include $OPENCL_FLAGS"
OPENCL_LIBS="-L$AMDAPPSDKROOT/lib/$ARCH_DIR $OPENCL_LIBS"
fi