mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 14:27:51 +08:00
8396510395
This commit adds a new package for SOIL (https://www.lonesock.net/soil.html). Name: SOIL Version: 2008.7.7-1 Description: SOIL, Simple OpenGL Image Loader
14 lines
479 B
CMake
14 lines
479 B
CMake
# - Config file for the SOIL package
|
|
# It defines the following variables
|
|
# SOIL_INCLUDE_DIRS - include directories for SOIL
|
|
# SOIL_LIBRARIES - libraries to link against
|
|
|
|
# Load targets
|
|
get_filename_component(SOIL_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
include("${SOIL_CMAKE_DIR}/SOILTargets.cmake")
|
|
|
|
# Set properties
|
|
get_target_property(SOIL_INCLUDE_DIRS SOIL INTERFACE_INCLUDE_DIRECTORIES)
|
|
set(SOIL_LIBRARIES SOIL)
|
|
mark_as_advanced(SOIL_INCLUDE_DIRS SOIL_LIBRARIES)
|