r3/src/CMakeLists.txt

10 lines
488 B
Text
Raw Normal View History

2014-06-18 08:47:06 -04:00
include_directories("${PROJECT_SOURCE_DIR}/include ${PROJECT_SOURCE_DIR}/src ${PROJECT_SOURCE_DIR}/3rdparty ${PROJECT_SOURCE_DIR}")
2014-06-18 08:27:35 -04:00
# install(TARGETS swiftnav-static DESTINATION lib${LIB_SUFFIX})
2015-03-04 22:45:39 -05:00
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)
2014-06-18 08:27:35 -04:00
2014-06-26 11:56:50 -04:00
add_library(r3 STATIC ${libr3_SRCS})
2015-03-04 22:45:39 -05:00
target_link_libraries(r3 lib3rdparty pcre)
2014-06-18 08:27:35 -04:00
# install(FILES ${libswiftnav_HEADERS} DESTINATION include/libswiftnav)