diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt new file mode 100644 index 0000000..2fc97c9 --- /dev/null +++ b/3rdparty/CMakeLists.txt @@ -0,0 +1,6 @@ +include_directories("${PROJECT_SOURCE_DIR}/3rdparty ${PROJECT_SOURCE_DIR}") +set(lib3rdparty_SRCS zmalloc.c) +add_library(3rdparty STATIC ${lib3rdparty_SRCS}) +# add_library(r3 SHARED ${libr3_SRCS}) +# target_link_libraries(r3 cblas) +# install(FILES ${libswiftnav_HEADERS} DESTINATION include/libswiftnav) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0960676..cd353f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,6 +27,7 @@ set(LIBS ${LIBS} ${PCRE_LIBRARIES} ${Judy_LIBRARIES} r3) # set (CMAKE_CXX_FLAGS "-std=c++0x -arch x86_64 -stdlib=libc++ -g3 -Wall -O0") enable_testing() +add_subdirectory(3rdparty) add_subdirectory(src) add_subdirectory(tests) # add_test(test_tree ${CMAKE_CURRENT_BINARY_DIR}/check_tree)