mirror of https://github.com/libAthena/athena.git
23 lines
790 B
CMake
23 lines
790 B
CMake
# - Config file for the Athena package
|
|
# It defines the following variables
|
|
# ATHENA_INCLUDE_DIR - include directory for Athena
|
|
# ATHENA_LIBRARIES - libraries to link against
|
|
# ATHENA_ICON - path to Athena.ico
|
|
|
|
# Compute paths
|
|
get_filename_component(ATHENA_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
set(ATHENA_INCLUDE_DIR "@CONF_INCLUDE_DIR@")
|
|
|
|
# Our library dependencies (contains definitions for IMPORTED targets)
|
|
if(NOT TARGET AthenaCore AND NOT Athena_BINARY_DIR)
|
|
include("${ATHENA_CMAKE_DIR}/AthenaTargets.cmake")
|
|
endif()
|
|
|
|
# These are IMPORTED targets created by AthenaTargets.cmake
|
|
set(ATHENA_LIBRARIES athena-core athena-wiisave athena-sakura athena-zelda)
|
|
|
|
# Set icon location if on windows
|
|
if(WIN32 AND NOT CYGWIN)
|
|
set(ATHENA_ICON "@CONF_ICON_DIR@")
|
|
endif()
|