summaryrefslogtreecommitdiffstats
path: root/flac-config.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flac-config.cmake.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/flac-config.cmake.in b/flac-config.cmake.in
new file mode 100644
index 0000000..bcafc4c
--- /dev/null
+++ b/flac-config.cmake.in
@@ -0,0 +1,17 @@
+@PACKAGE_INIT@
+
+include(CMakeFindDependencyMacro)
+if(NOT TARGET Ogg::ogg)
+ find_dependency(Ogg)
+endif()
+
+include("${CMAKE_CURRENT_LIST_DIR}/targets.cmake")
+
+if(TARGET FLAC::FLAC)
+ set(FLAC_FLAC_FOUND 1)
+endif()
+if(TARGET FLAC::FLAC++)
+ set(FLAC_FLAC++_FOUND 1)
+endif()
+
+check_required_components(FLAC)