# CMake config file for CTL
# defines the following variables:
#
# CTL_INCLUDE_DIRS
# CTL_LIBRARIES
# CTL_EXECUTABLE

# find paths
get_filename_component( CTL_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH )
if( EXISTS "${CTL_CMAKE_DIR}/CMakeCache.txt" )
  # build tree...
  include( "${CTL_CMAKE_DIR}/CTLBuildTreeSettings.cmake" )
else()
  set( CTL_INCLUDE_DIRS "${CTL_CMAKE_DIR}/../../../include" )
endif

# setup our library dependencies (i.e. ilmbase)
include( "${CTL_CMAKE_DIR}/CTLLibraryDepends.cmake" )

set( CTL_LIBRARIES CTL )
set( CTL_EXECUTABLE ctlrender )
