cigui/cmake/CIGUIConfig.cmake.in
noffie 8e0e9ceb7c Major Restructuring
N0ffie switched to mingw (fixing linux warnings)
2025-04-12 18:09:16 +02:00

16 lines
No EOL
449 B
CMake

@PACKAGE_INIT@
# Import targets created by CIGUITargets.cmake
include("${CMAKE_CURRENT_LIST_DIR}/CIGUITargets.cmake")
# Ensure SFML is available
include(CMakeFindDependencyMacro)
find_dependency(SFML 3 COMPONENTS graphics window system)
# Define convenient imported target if it doesn't exist
if(NOT TARGET cigui::cigui)
add_library(cigui::cigui ALIAS cigui)
endif()
# Check all required components are found
check_required_components(cigui)