@ -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)
@ -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)