Skip to content

Commit

Permalink
Store the current build directory in the CMake user package registry
Browse files Browse the repository at this point in the history
So that find_package(VexCL) may be used without a system-wide
installation.
  • Loading branch information
ddemidov committed Apr 19, 2017
1 parent 7a82240 commit 857911b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ if (VEXCL_MASTER_PROJECT)
NAMESPACE VexCL::
)

export(PACKAGE VexCL)

install(EXPORT VexCLTargets
FILE VexCLTargets.cmake
NAMESPACE VexCL::
Expand Down

0 comments on commit 857911b

Please sign in to comment.