Skip to content

Commit

Permalink
make find_package portable
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten-klein authored and jschwe committed Apr 23, 2024
1 parent 10da46b commit 2a4137a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/CorrosionConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ if (Corrosion_FOUND)
return()
endif()

list(APPEND CMAKE_MODULE_PATH "@CMAKE_INSTALL_FULL_DATADIR@/cmake")
list(APPEND CMAKE_MODULE_PATH "${PACKAGE_PREFIX_DIR}/@CMAKE_INSTALL_DATADIR@/cmake")

include(Corrosion)

0 comments on commit 2a4137a

Please sign in to comment.