Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Commit

Permalink
Add OpenCL include path to cf4ocl pkg-config file
Browse files Browse the repository at this point in the history
  • Loading branch information
nunofachada committed Jul 4, 2016
1 parent 7b66953 commit bbb0897
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ pkg_check_modules(GLIB REQUIRED glib-2.0>=2.32.1)

# Find OpenCL
find_package(OpenCL REQUIRED)
set(OpenCL_SYSTEM_INCLUDE_DIRS ${OpenCL_INCLUDE_DIRS})

# Find optional executables for creating docs
find_package(Doxygen 1.8.3 QUIET)
Expand Down
2 changes: 1 addition & 1 deletion cf4ocl2.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ URL: http://fakenmc.github.io/cf4ocl/
Version: @cf4ocl2_VERSION@
Requires.private: glib-2.0 >= 2.32.1
Libs: -L${libdir} -lcf4ocl2
Cflags: -I${includedir}
Cflags: -I${includedir} -I@OpenCL_SYSTEM_INCLUDE_DIRS@

0 comments on commit bbb0897

Please sign in to comment.