Skip to content

Commit

Permalink
bring back YOMM2Config.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
jll63 committed Nov 9, 2024
1 parent c0078e2 commit 3741e84
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ install(EXPORT YOMM2Targets
)
# Copy config files to install directory
install(FILES
"${CMAKE_CURRENT_BINARY_DIR}/YOMM2Config.cmake"
"YOMM2Config.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/YOMM2ConfigVersion.cmake"
DESTINATION lib/cmake/YOMM2
)
Expand Down
7 changes: 7 additions & 0 deletions YOMM2Config.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
include(CMakeFindDependencyMacro)

find_dependency(Boost 1.74... REQUIRED)

include("${CMAKE_CURRENT_LIST_DIR}/YOMM2Targets.cmake")

check_required_components(YOMM2)

0 comments on commit 3741e84

Please sign in to comment.