Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid if() quoted auto-dereference | Ben Boeckel | 2014-10-20 | 1 | -1/+1 |
| | | | | | | | When testing CMAKE_<LANG>_COMPILER_ID values, do not explicitly dereference or quote the variable. We want if() to auto-dereference the variable and not its value. Also replace MATCHES with STREQUAL where equivalent. | ||||
* | Test static linking with LINK_SEARCH_START_STATIC | Brad King | 2011-03-04 | 2 | -0/+32 |
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. |