1# - Use settings to enable access to C++ TR1 2# 3# This calls include_directories and link_directories as needed to 4# permit TR1 support. 5# 6# Original Author: 7# 2009-2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net> 8# http://academic.cleardefinition.com 9# Iowa State University HCI Graduate Program/VRAC 10# 11# Copyright Iowa State University 2009-2010. 12# Distributed under the Boost Software License, Version 1.0. 13# (See accompanying file LICENSE_1_0.txt or copy at 14# http://www.boost.org/LICENSE_1_0.txt) 15 16if(__use_tr1) 17 return() 18endif() 19set(__use_tr1 YES) 20 21 22if(TR1_INCLUDE_DIRS) 23 include_directories(${TR1_INCLUDE_DIRS}) 24endif() 25 26if(TR1_LIBRARY_DIRS) 27 link_directories(${TR1_LIBRARY_DIRS}) 28endif() 29