Commit 91f2b0a9 authored by Jan Möbius's avatar Jan Möbius
Browse files

Added missing DCO finder

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@20023 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 67c794d1
# - Try to find DCO
# Once done this will define
# DCO_FOUND - System has DCO
# DCO_INCLUDE_DIRS - The DCO include directories
if (DCO_INCLUDE_DIR)
# in cache already
set(DCO_FOUND TRUE)
set(DCO_INCLUDE_DIRS "${DCO_INCLUDE_DIR}" )
else (DCO_INCLUDE_DIR)
find_path( DCO_INCLUDE_DIR
NAMES dco.hpp
PATHS $ENV{DCO_DIR}
/usr/include/dco
/usr/local/include
/usr/local/include/dco/
/opt/local/include/dco/
)
set(DCO_INCLUDE_DIRS "${DCO_INCLUDE_DIR}" )
include(FindPackageHandleStandardArgs)
# handle the QUIETLY and REQUIRED arguments and set DCO_FOUND to TRUE
# if all listed variables are TRUE
find_package_handle_standard_args(DCO DEFAULT_MSG
DCO_INCLUDE_DIR)
mark_as_advanced(DCO_INCLUDE_DIR)
endif(DCO_INCLUDE_DIR)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment