summaryrefslogtreecommitdiff
path: root/regex/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'regex/CMakeLists.txt')
-rwxr-xr-xregex/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/regex/CMakeLists.txt b/regex/CMakeLists.txt
index f02c5745ef3..46a36ae0758 100755
--- a/regex/CMakeLists.txt
+++ b/regex/CMakeLists.txt
@@ -17,6 +17,4 @@
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})
-
+ADD_CONVENIENCE_LIBRARY(regex STATIC ${REGEX_SOURCES})