Optional: Move optional-lite to the include/third-party directory

This fixes the use case of adding the include folder
manually to an outside project.
This commit is contained in:
Paul Hollinsky
2021-04-23 20:01:53 -04:00
parent b7ce9819bd
commit 6c1cbc9db8
44 changed files with 1 additions and 5 deletions
@@ -0,0 +1,7 @@
@PACKAGE_INIT@
# Only include targets once:
if( NOT TARGET @package_name@::@package_name@ )
include( "${CMAKE_CURRENT_LIST_DIR}/@package_target@.cmake" )
endif()