'Cmake : LOCAL_EXPORT_LDLIBS equivalent in CMake

I am working on an android native app currently using Android.mk for build. We are moving build system to CMake. I have following lines in Android.mk :

LOCAL_MODULE := midso
LOCAL_EXPORT_LDLIBS := -llog
LOCAL_WHOLE_STATIC_LIBRARIES := libC

What are CMake equivalents of LOCAL_EXPORT_LDLIBS and LOCAL_WHOLE_STATIC_LIBRARIES ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source