Skip to content
Snippets Groups Projects
Commit 08238cf4 authored by Jameson Rollins's avatar Jameson Rollins
Browse files

Merge branch 'libfl-dev_detection' into 'master'

Fix for #8.  CMake should check for FlexLexer.h.

See merge request cds/advligorts!95
parents 9037a70e f46a0132
No related branches found
No related tags found
1 merge request!95Fix for #8. CMake should check for FlexLexer.h.
FIND_PROGRAM(UNAME_PROG uname)
FIND_PROGRAM(DATE_PROG date)
FIND_PATH(FLEX_LEXER_PATH FlexLexer.h
HINTS /usr/include)
message("Flex lexer path = '${FLEX_LEXER_PATH}'")
if (NOT FLEX_LEXER_PATH)
message(FATAL_ERROR "FlexLexer.h is not found. On debian this is in the libfl-dev package")
endif (NOT FLEX_LEXER_PATH)
INCLUDE(Cpp11)
INCLUDE(CheckCXXSourceCompiles)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment