Skip to content
Permalink
Browse files

[opencl] Fix build when headers are not available

  • Loading branch information
elpaso committed Aug 8, 2018
1 parent 445d453 commit c42a748afc413e235254d2a94dc8af75d2109822
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/analysis/CMakeLists.txt
@@ -300,11 +300,10 @@ INCLUDE_DIRECTORIES(SYSTEM
${GEOS_INCLUDE_DIR}
${GDAL_INCLUDE_DIR}
${SQLITE3_INCLUDE_DIR}
${OpenCL_INCLUDE_DIRS}
)

IF(HAVE_OPENCL)
INCLUDE_DIRECTORIES(${OpenCL_LIBRARIES})
INCLUDE_DIRECTORIES(${OpenCL_INCLUDE_DIRS})
ENDIF(HAVE_OPENCL)


0 comments on commit c42a748

Please sign in to comment.
You can’t perform that action at this time.