Files
thehub/libs/config/secp256k1.cmake.in
T
TomZ 589932e876 Make dependent projects able to link to secp256k1
As the compile may or may not link to GMP, using projects
need to link to this too. Dynamic libs handle this, we ship
static libs and thus we need to handle this ourselves.
2020-05-13 22:29:23 +02:00

10 lines
270 B
CMake

# This file helps to know how to link this static library
if (@GMP_FOUND@)
if (_FloweeSecp256k1)
set_property(TARGET secp256k1 PROPERTY IMPORTED_LINK_INTERFACE_LIBRARIES
${IMPORTED_LINK_INTERFACE_LIBRARIES}
@GMP_LIBRARY@
)
endif ()
endif ()