Fix cmakelist

This commit is contained in:
c9s 2014-06-26 23:56:50 +08:00
parent db35d03217
commit d00ac51809
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
include_directories("${PROJECT_SOURCE_DIR}/3rdparty ${PROJECT_SOURCE_DIR}")
set(lib3rdparty_SRCS zmalloc.c)
add_library(3rdparty STATIC ${lib3rdparty_SRCS})
add_library(lib3rdparty STATIC ${lib3rdparty_SRCS})
# add_library(r3 SHARED ${libr3_SRCS})
# target_link_libraries(r3 cblas)
# install(FILES ${libswiftnav_HEADERS} DESTINATION include/libswiftnav)

View file

@ -3,6 +3,6 @@ include_directories("${PROJECT_SOURCE_DIR}/include ${PROJECT_SOURCE_DIR}/src ${P
set(libr3_SRCS node.c edge.c list.c slug.c str.c token.c)
# add_library(r3 STATIC ${libr3_SRCS})
add_library(r3 SHARED ${libr3_SRCS})
# target_link_libraries(r3 cblas)
add_library(r3 STATIC ${libr3_SRCS})
target_link_libraries(r3 lib3rdparty)
# install(FILES ${libswiftnav_HEADERS} DESTINATION include/libswiftnav)