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
parent
4935b33a32
commit
82e2d916e1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue