Skip to content
Snippets Groups Projects
HCANAConfig.cmake.in 794 B
Newer Older
  • Learn to ignore specific revisions
  • Whitney Armstrong's avatar
    Whitney Armstrong committed
    @PACKAGE_INIT@
    
    include("@PACKAGE_TARGETS_INSTALL_PATH@")
    
    check_required_components(HCANA)
    
    
    find_package(PODD REQUIRED)
    message(STATUS "Found HCANA")
    
    
    Whitney Armstrong's avatar
    Whitney Armstrong committed
    #get_filename_component(HCANA_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
    #include(CMakeFindDependencyMacro)
    #
    #list(APPEND CMAKE_MODULE_PATH ${HCANA_CMAKE_DIR})
    #
    ## NOTE Had to use find_package because find_dependency does not support COMPONENTS or MODULE until 3.8.0
    #
    ##find_dependency(Boost 1.55 REQUIRED COMPONENTS regex)
    ##find_dependency(RapidJSON 1.0 REQUIRED MODULE)
    ##find_package(Boost 1.55 REQUIRED COMPONENTS regex)
    ##find_package(RapidJSON 1.0 REQUIRED MODULE)
    #list(REMOVE_AT CMAKE_MODULE_PATH -1)
    #
    #if(NOT TARGET HCANA::PODD)
    #    include("${HCANA_CMAKE_DIR}/PODDTargets.cmake")
    #endif()
    #
    #set(HCANA_LIBRARIES PODD::PODD)