#=============================================================================== # @file BlackDynamiteConfig.cmake.in # # @author Nicolas Richart # # @date Thu Dec 01 18:00:05 2011 # # @brief CMake file for the library # # @section LICENSE # # Copyright (©) 2010-2011 EPFL (Ecole Polytechnique Fédérale de Lausanne) # Laboratory (LSMS - Laboratoire de Simulation en Mécanique des Solides) # # Akantu is free software: you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation, either version 3 of the License, or (at your option) any # later version. # # Akantu is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR # A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more # details. # # You should have received a copy of the GNU Lesser General Public License # along with Akantu. If not, see . # #=============================================================================== # Compute paths get_filename_component(BLACKDYNAMITE_CURRENT_FILE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) if(EXISTS "${BLACKDYNAMITE_CURRENT_FILE_DIR}/CMakeCache.txt") # In build tree set(BLACKDYNAMITE_INCLUDE_DIR "@PROJECT_SOURCE_DIR@/src") else() set(BLACKDYNAMITE_INCLUDE_DIR "${BLACKDYNAMITE_CURRENT_FILE_DIR}/../../include/blackdynamite") endif() #list(APPEND BLACKDYNAMITE_INCLUDE_DIR @BLACKDYNAMITE_EXTERNAL_INCLUDE_DIR@) include("${BLACKDYNAMITE_CURRENT_FILE_DIR}/BlackDynamiteLibraryDepends.cmake") # Dependancies set(BLACKDYNAMITE_BUILD_TYPE @CMAKE_BUILD_TYPE@) # find_akantu_dependencies() set(BLACKDYNAMITE_LIBRARIES blackdynamite)