mirror of
https://github.com/reactos/CMake.git
synced 2024-12-05 10:16:50 +00:00
077954d4cb
Add "LinkStatic" test that links a static executable against "libm.a". Pass both "/usr/lib/libm.a" and "-lm" to target_link_libraries to trigger the link type logic for both cases. If CMake incorrectly switches the link type to shared for "-lm" then the link will fail. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
LinkStatic.c |