Skip to content

Commit 06601f0

Browse files
authored
Enable found version printing for find_package(OpenColorIO CONFIG) (#1636)
Signed-off-by: Rémi Achard <[email protected]>
1 parent a2e204b commit 06601f0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/cmake/Config.cmake.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@
33
include(CMakeFindDependencyMacro)
44

55
include(${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake)
6+
7+
include(FindPackageHandleStandardArgs)
8+
set(@PROJECT_NAME@_CONFIG ${CMAKE_CURRENT_LIST_FILE})
9+
find_package_handle_standard_args(@PROJECT_NAME@ CONFIG_MODE)

0 commit comments

Comments
 (0)