Use exact library output name

Alos2filter expects a .so library, but macOS defaults to .dylib,
so we must override the library prefix/name/suffix.
LT1AB
Ryan Burns 2020-04-08 14:40:54 -07:00
parent 4935b33a32
commit 82e2d916e1
1 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,9 @@
add_library(alos2filter SHARED src/psfilt1.c)
set_target_properties(alos2filter PROPERTIES
PREFIX ""
OUTPUT_NAME libalos2filter
SUFFIX .so)
InstallSameDir(
alos2filter
__init__.py