Added conditional extmatch.{c,h} compilation if PCRE is here or not
This commit is contained in:
parent
86e059b403
commit
f8bb64ace7
1 changed files with 7 additions and 2 deletions
|
@ -74,11 +74,16 @@ set(SOURCE_FILES
|
|||
src/i18n.h
|
||||
src/ordered-set.c
|
||||
src/posix-compat.c
|
||||
src/extmatch.c
|
||||
src/extmatch.h
|
||||
src/main.c
|
||||
)
|
||||
|
||||
if (PCRE_FOUND)
|
||||
set (SOURCE_FILES ${SOURCE_FILES}
|
||||
src/extmatch.c
|
||||
src/extmatch.h
|
||||
)
|
||||
endif ()
|
||||
|
||||
set(INTERFACE_FILES
|
||||
include/criterion/assert.h
|
||||
include/criterion/abort.h
|
||||
|
|
Loading…
Add table
Reference in a new issue