Fix cmake build
This commit is contained in:
parent
85f1b218a5
commit
3a62cb6559
1 changed files with 4 additions and 3 deletions
|
@ -1,8 +1,9 @@
|
|||
include_directories("${PROJECT_SOURCE_DIR}/include ${PROJECT_SOURCE_DIR}/src ${PROJECT_SOURCE_DIR}/3rdparty ${PROJECT_SOURCE_DIR}")
|
||||
# install(TARGETS swiftnav-static DESTINATION lib${LIB_SUFFIX})
|
||||
find_package(PCRE REQUIRED)
|
||||
set(libr3_SRCS node.c edge.c list.c slug.c str.c token.c match_entry.c)
|
||||
set(LIBS ${LIBS} ${PCRE_LIBRARIES} r3)
|
||||
|
||||
set(libr3_SRCS node.c edge.c list.c slug.c str.c token.c)
|
||||
# add_library(r3 STATIC ${libr3_SRCS})
|
||||
add_library(r3 STATIC ${libr3_SRCS})
|
||||
target_link_libraries(r3 lib3rdparty)
|
||||
target_link_libraries(r3 lib3rdparty pcre)
|
||||
# install(FILES ${libswiftnav_HEADERS} DESTINATION include/libswiftnav)
|
||||
|
|
Loading…
Reference in a new issue