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)