From d00ac5180975a6b4a1766914eb59a24bf3e59ade Mon Sep 17 00:00:00 2001 From: c9s Date: Thu, 26 Jun 2014 23:56:50 +0800 Subject: [PATCH] Fix cmakelist --- 3rdparty/CMakeLists.txt | 2 +- src/CMakeLists.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt index 2fc97c9..4726cdb 100644 --- a/3rdparty/CMakeLists.txt +++ b/3rdparty/CMakeLists.txt @@ -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) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fb41a55..0831f7d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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)