FindCon2020.cmake
525 Bytes
FIND_PATH(CON2020INCLUDE_DIR con2020.h
HINTS
${USERLOCAL_ROOT}/include
NO_DEFAULT_PATH
)
mark_as_advanced(CON2020INCLUDE_DIR)
find_library(CON2020LIBRARY
NAMES con2020
HINTS
${USERLOCAL_ROOT}/lib
NO_DEFAULT_PATH
)
mark_as_advanced(CON2020LIBRARY)
include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Con2020 DEFAULT_MSG CON2020LIBRARY CON2020INCLUDE_DIR)
if(CON2020_FOUND)
set(CON2020INCLUDE_DIRS ${CON2020INCLUDE_DIR})
set(CON2020LIBRARIES ${CON2020LIBRARY})
endif()