diff options
Diffstat (limited to 'regex/CMakeLists.txt')
-rwxr-xr-x | regex/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/regex/CMakeLists.txt b/regex/CMakeLists.txt index 440be4d2f12..f02c5745ef3 100755 --- a/regex/CMakeLists.txt +++ b/regex/CMakeLists.txt @@ -17,7 +17,6 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include) SET(REGEX_SOURCES regcomp.c regerror.c regexec.c regfree.c reginit.c) +USE_ABSOLUTE_FILENAMES(REGEX_SOURCES) +ADD_LIBRARY(regex ${REGEX_SOURCES}) -IF(NOT SOURCE_SUBLIBS) - ADD_LIBRARY(regex ${REGEX_SOURCES}) -ENDIF(NOT SOURCE_SUBLIBS) |