################################################################################ ## ## Copyright (c) 2007-2009 Illumina, Inc. ## ## This software is covered by the "Illumina Genome Analyzer Software ## License Agreement" and the "Illumina Source Code License Agreement", ## and certain third party copyright/licenses, and any user of this ## source file is bound by the terms therein (see accompanying files ## Illumina_Genome_Analyzer_Software_License_Agreement.pdf and ## Illumina_Source_Code_License_Agreement.pdf and third party ## copyright/license notices). ## ## This file is part of the Consensus Assessment of Sequence And VAriation ## (CASAVA) software package. ## ## file configure ## ## Configuration file for the share subdirectory ## ## author Roman Petrovski ## ################################################################################ if (NOT CASAVA_FORCE_STATIC_LINK AND NOT Boost_USE_STATIC_LIBS) set(CMAKE_SKIP_BUILD_RPATH FALSE) set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) include ("${CASAVA_MACROS_CMAKE}") get_filename_component(CASAVA_CURRENT_DIR_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) message (STATUS "Adding the verifyBoost dynamic link binary checker: ${CASAVA_CURRENT_DIR_NAME}") casava_find_boost(${CASAVA_BOOST_VERSION} "${CASAVA_BOOST_COMPONENTS}") add_executable(verifyBoost verifyBoost.cpp) add_dependencies(verifyBoost CASAVA_OPT) target_link_libraries (verifyBoost ${CASAVA_AVAILABLE_LIBRARIES} ${Boost_LIBRARIES} ${CASAVA_ADDITIONAL_LIB}) install(TARGETS verifyBoost RUNTIME DESTINATION ${CASAVA_LIBEXECDIR}) include ("${CASAVA_GLOBALS_CMAKE}") install( CODE " set(CASAVA_VERIFY_BOOST_DIR \"\${CASAVA_FULL_LIBEXECDIR}\") set(Boost_LIBRARY_DIRS \"${Boost_LIBRARY_DIRS}\") " SCRIPT "${CMAKE_CURRENT_SOURCE_DIR}/verifyBoost.cmake" ) endif (NOT CASAVA_FORCE_STATIC_LINK AND NOT Boost_USE_STATIC_LIBS)