[d1eed7]: src / vips / plugResample / CMakeLists.txt Maximize Restore History

Download this file

CMakeLists.txt    18 lines (11 with data), 588 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
# build a shared library (vips plugin)
ADD_LIBRARY(resample SHARED plug.c resample.c interpolation.c)
# rename library to .plg
SET_TARGET_PROPERTIES(resample PROPERTIES SUFFIX ".plg")
# set special compiler flags.
SET_TARGET_PROPERTIES(resample PROPERTIES COMPILE_FLAGS "${VIPS_CFLAGS_OTHER_STRING}")
# set special linker flags
SET_TARGET_PROPERTIES(resample PROPERTIES LINK_FLAGS "${VIPS_LDFLAGS_OTHER_STRING}")
#link to the library (this might not be necessary).
TARGET_LINK_LIBRARIES(resample panoparser pano13 panotoolswrapper)
INSTALL(TARGETS resample LIBRARY DESTINATION lib)