summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-08-12 15:06:02 +0800
committerPeng Wu <alexepico@gmail.com>2011-08-12 15:06:02 +0800
commit299dc559ff9b0747a4cf214b70773e61b06752c7 (patch)
treedcb9b094ca06d234e59940d84a0e158f395e37a2
parentb7bb9c1df8a50ac296edce955b9c4f13ad9edc4a (diff)
downloadlibpinyin-299dc559ff9b0747a4cf214b70773e61b06752c7.tar.gz
libpinyin-299dc559ff9b0747a4cf214b70773e61b06752c7.tar.xz
libpinyin-299dc559ff9b0747a4cf214b70773e61b06752c7.zip
refine cmake files
-rw-r--r--src/CMakeLists.txt6
-rw-r--r--src/lookup/CMakeLists.txt2
-rw-r--r--src/storage/CMakeLists.txt4
3 files changed, 6 insertions, 6 deletions
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}
)