From 7754043252fdefd18a74e4a8db22b8342f8b015b Mon Sep 17 00:00:00 2001 From: c9s Date: Wed, 18 Jun 2014 20:54:46 +0800 Subject: [PATCH] Include 3rdparty CMakeLists.txt --- 3rdparty/CMakeLists.txt | 6 ++++++ CMakeLists.txt | 1 + 2 files changed, 7 insertions(+) create mode 100644 3rdparty/CMakeLists.txt 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)