Skip to content

Commit

Permalink
Create config.cmake.in
Browse files Browse the repository at this point in the history
  • Loading branch information
austinmhorn committed Jul 27, 2023
1 parent 077917a commit 350f142
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions cmake/templates/config.cmake.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#
# Configuration file for @PROJECT_NAME@
#
# Define Alias library @PROJECT_NAME@::@TARGET@

include( CMakeFindDependencyMacro )
find_dependency( SFML 2.5 COMPONENTS graphics window system )
find_dependency( OpenGL )

if( "${CMAKE_SYSTEM_NAME}" MATCHES "Linux" )
find_dependency( X11 )
endif()

include( "${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake" )

0 comments on commit 350f142

Please sign in to comment.