summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-16 14:02:43 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-16 14:02:43 +0100
commit31b20f08150907fadc05e5054f4ffd04f68d2144 (patch)
tree8f4aaf79177341bcdc709830608529d58eb204c8 /src/CMakeLists.txt
parent426687c80bbc52474a53939d7034d45180adc1f5 (diff)
downloadlibuca-31b20f08150907fadc05e5054f4ffd04f68d2144.tar.gz
libuca-31b20f08150907fadc05e5054f4ffd04f68d2144.tar.bz2
libuca-31b20f08150907fadc05e5054f4ffd04f68d2144.tar.xz
libuca-31b20f08150907fadc05e5054f4ffd04f68d2144.zip
Add publishing script and propagate version from top directory
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index fdc19dd..9c25ca7 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,9 +1,5 @@
cmake_minimum_required(VERSION 2.8)
-set(UCA_VERSION_MAJOR "0")
-set(UCA_VERSION_MINOR "3")
-set(UCA_VERSION_PATCH "0")
-
# --- Set sources -------------------------------------------------------------
set(uca_SRCS
uca.c
@@ -145,8 +141,7 @@ target_link_libraries(uca ${uca_LIBS})
# --- Install target ----------------------------------------------------------
install(TARGETS uca
- ARCHIVE DESTINATION lib
- LIBRARY DESTINATION lib)
+ LIBRARY DESTINATION lib{LIB_SUFFIX})
install(FILES ${uca_HDRS}
DESTINATION include/libuca)