From 299dc559ff9b0747a4cf214b70773e61b06752c7 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Fri, 12 Aug 2011 15:06:02 +0800 Subject: refine cmake files --- src/CMakeLists.txt | 6 +++--- src/lookup/CMakeLists.txt | 2 +- src/storage/CMakeLists.txt | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7fa83af..4e0b09f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -16,8 +16,8 @@ add_library( target_link_libraries( libpinyin - libstorage - liblookup + storage + lookup ) set_target_properties( @@ -47,4 +47,4 @@ install( add_subdirectory(include) add_subdirectory(storage) -add_subdirectory(lookup) \ No newline at end of file +add_subdirectory(lookup) diff --git a/src/lookup/CMakeLists.txt b/src/lookup/CMakeLists.txt index 99edbb6..5b631d7 100644 --- a/src/lookup/CMakeLists.txt +++ b/src/lookup/CMakeLists.txt @@ -14,7 +14,7 @@ set( ) add_library( - liblookup + lookup STATIC ${LIBLOOKUP_SOURCES} ) diff --git a/src/storage/CMakeLists.txt b/src/storage/CMakeLists.txt index 55601b5..b775350 100644 --- a/src/storage/CMakeLists.txt +++ b/src/storage/CMakeLists.txt @@ -23,13 +23,13 @@ set( ) add_library( - libstorage + storage STATIC ${LIBSTORAGE_SOURCES} ) target_link_libraries( - libstorage + storage ${GLIB2_LIBRARIES} ${BERKELEY_DB_LIBRARIES} ) -- cgit