Skip to content

Commit

Permalink
Export to other projects cmake as sol2::sol2
Browse files Browse the repository at this point in the history
Fix #1304
  • Loading branch information
DarthGandalf authored and ThePhD committed Sep 27, 2022
1 parent e5348c2 commit 0386513
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ if(SOL2_ENABLE_INSTALL)
EXPORT sol2)

install(EXPORT sol2
NAMESPACE sol2::
FILE sol2-targets.cmake
DESTINATION "${CMAKE_INSTALL_DATADIR}/cmake/sol2")

Expand Down

0 comments on commit 0386513

Please sign in to comment.