Code quality: fixed build issues with MSVC

This commit is contained in:
U-AMR\ptillet
2015-08-10 17:04:57 -07:00
parent 0f23cec87d
commit 0a506fa433
4 changed files with 567 additions and 561 deletions

View File

@@ -1,7 +1,12 @@
#Hints for finding libOpenCL
#OpenCL Hints
set(L_HINTS $ENV{INTELOCLSDKROOT}/lib/x86)
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
set(L_HINTS $ENV{INTELOCLSDKROOT}/lib/x64)
else()
set(L_HINTS $ENV{INTELOCLSDKROOT}/lib/x86)
endif()
if(ANDROID)
set(ANDROID_CL_GLOB_HINTS /opt/adreno-driver*/lib)
foreach(PATH ${ANDROID_CL_GLOB_HINTS})