# File:   UseADIFOR2.cmake
# Author: Christian Hoffmann
# Date:   2007--2009
#
# This file is part of the MUSCOD/VPLAN suite, which is proprietary software of
#   Simulation and Optimization Workgroup
#   Interdisciplinary Center for Scientific Computing (IWR)
#   University of Heidelberg, Germany.
#
# Copyright (C) 2007--2009. All rights reserved.
#
####################################################################################################
#
# Including this file makes prepares your CMake script for package XXX. Usage example:
#
# FIND_PACKAGE( XXX ) # invokes FindADIFOR2.cmake
# IF( XXX_FOUND )
#   INCLUDE( UseXXX.cmake )
# ENDIF()
#
####################################################################################################

IF( NOT EFENCE_USED )
	SET( EFENCE_USED TRUE )
	SET ( HAS_EFENCE TRUE )


	ADD_DEFINITIONS( ${EFENCE_COMPILER_FLAGS} )
	LINK_DIRECTORIES( ${EFENCE_LIBRARY_DIRS} )

	MESSAGE( STATUS  "Using EFENCE" )

ENDIF()
