##// END OF EJS Templates
Separate the initialization of the properties of the graph of the update of the units of the graph....
Separate the initialization of the properties of the graph of the update of the units of the graph. The initialization of the properties is carried out when adding a variable in the graph, the update of the units is carried out when loading the data of this variable

File last commit:

r1096:bf5c5de37807
r1308:41b7c6aab8be
Show More
FindCatalogueAPI.cmake
29 lines | 1.3 KiB | text/x-cmake | CMakeLexer
/ cmake / FindCatalogueAPI.cmake
# - Try to find CatalogueAPI Module
# Once done this will define
# CATALOGUEAPI_FOUND - System has CatalogueAPI
# CATALOGUEAPI_INCLUDE_DIRS - The CatalogueAPI include directories
# CATALOGUEAPI_LIBRARIES - The libraries needed to use CatalogueAPI
# CATALOGUEAPI_SHARED_LIBRARIES - The shared libraries for CatalogueAPI
set(CATALOGUEAPI_ROOT_DIR "${CATALOGUEAPI_EXTERN_FOLDER}"
CACHE PATHS
"Path to the installation of CatalogueAPI"
${libRootDirForceValue})
find_path(CATALOGUEAPI_INCLUDE_DIR CatalogueDao.h
HINTS ${CATALOGUEAPI_ROOT_DIR} ${CATALOGUEAPI_EXTERN_FOLDER}
PATH_SUFFIXES src )
find_library(CATALOGUEAPI_LIBRARY NAMES CatalogueAPI
HINTS ${CATALOGUEAPI_ROOT_DIR} ${CATALOGUEAPI_EXTERN_FOLDER}
PATH_SUFFIXES lib)
set(CATALOGUEAPI_LIBRARIES ${CATALOGUEAPI_LIBRARY} )
set(CATALOGUEAPI_INCLUDE_DIRS ${CATALOGUEAPI_INCLUDE_DIR} )
include(FindPackageHandleStandardArgs)
# handle the QUIETLY and REQUIRED arguments and set CATALOGUEAPI_FOUND to TRUE
# if all listed variables are TRUE
find_package_handle_standard_args(CatalogueAPI FOUND_VAR CATALOGUEAPI_FOUND
REQUIRED_VARS CATALOGUEAPI_LIBRARY CATALOGUEAPI_INCLUDE_DIR)
mark_as_advanced(CATALOGUEAPI_INCLUDE_DIR CATALOGUEAPI_LIBRARY )