Skip to content

Commit

Permalink
[opencl] Fix build when headers are not available
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Aug 8, 2018
1 parent 445d453 commit c42a748
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/analysis/CMakeLists.txt
Expand Up @@ -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)


Expand Down

0 comments on commit c42a748

Please sign in to comment.