[CMake] Who adds -lrt to <LINK_LIBRARIES> ?

Adrian M Negreanu groleo at gmail.com
Sun Apr 13 07:10:44 EDT 2014


Hi,

I'm using android.toolchain.cmake to build a shared library.
I'm not linking explicitly with rt anywhere but the lib still gets an
-lrt.

I assume cmake detects a dependency on -lrt and adds it.

Is this true or coming from android.toolchain.cmake ?


thanks


More information about the CMake mailing list