From cb10de13009474f75988f9a7c63ba99e5b8aac88 Mon Sep 17 00:00:00 2001
From: Vincent Tavernier <vincent.tavernier@inria.fr>
Date: Fri, 1 Dec 2017 14:14:15 +0100
Subject: [PATCH] Simplify -config file

---
 shadertoy-config.cmake.in | 17 +----------------
 1 file changed, 1 insertion(+), 16 deletions(-)

diff --git a/shadertoy-config.cmake.in b/shadertoy-config.cmake.in
index a087c5a..037a3e8 100644
--- a/shadertoy-config.cmake.in
+++ b/shadertoy-config.cmake.in
@@ -1,20 +1,5 @@
 # shadertoy-config.cmake - package configuration file
 
-get_filename_component(SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
-
 # Include libshadertoy targets
+get_filename_component(SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
 include(${SELF_DIR}/shadertoy.cmake)
-
-# Internal config
-get_target_property(shadertoy_INCLUDE_DIR shadertoy INTERFACE_INCLUDE_DIRECTORIES)
-set(shadertoy_LIBRARY shadertoy)
-
-include(FindPackageHandleStandardArgs)
-# handle QUIETLY and REQUIRED
-find_package_handle_standard_args(shadertoy DEFAULT_MSG
-	shadertoy_INCLUDE_DIR shadertoy_LIBRARY)
-
-mark_as_advanced(shadertoy_INCLUDE_DIR shadertoy_LIBRARY)
-# Set config
-set(shadertoy_LIBRARIES ${shadertoy_LIBRARY})
-set(shadertoy_INCLUDE_DIRS ${shadertoy_INCLUDE_DIR})
-- 
GitLab