Browse Source

* fix SONAME for library

master v0.4
Alex 'AdUser' Z 8 years ago
parent
commit
a98ace3461
  1. 3
      CMakeLists.txt
  2. 2
      src/CMakeLists.txt

3
CMakeLists.txt

@ -1,5 +1,6 @@
set(CNAME "libsimdb")
set(VERSION 0.3)
set(VERSION 0.4)
set(SOVERSION 1)
project($CNAME C)
cmake_minimum_required(VERSION 2.6)

2
src/CMakeLists.txt

@ -1,7 +1,7 @@
set(LIB_SOURCES "database.c" "bitmap.c" "samplers/${SAMPLER}.c")
add_library("simdb" SHARED ${LIB_SOURCES})
set_property(TARGET "simdb" PROPERTY SONAME ${VERSION})
set_property(TARGET "simdb" PROPERTY SOVERSION ${SOVERSION})
if (${SAMPLER} STREQUAL "magick")
find_package(ImageMagick COMPONENTS MagickCore MagickWand)

Loading…
Cancel
Save