diff options
| author | Craig Scott <craig.scott@crascit.com> | 2017-05-18 10:01:17 +1000 |
|---|---|---|
| committer | Craig Scott <craig.scott@constrainttec.com> | 2017-05-18 10:32:03 +1000 |
| commit | 1bfe37201a0b5fb25f775ec34e25a2a184529489 (patch) | |
| tree | e89f60f37c623fa0e0a79704aee108524720ed49 /Tests/CMakeCommands | |
| parent | 471779764757a3a6e4b5fb1db9b8943630b18f3d (diff) | |
| download | cmake-1bfe37201a0b5fb25f775ec34e25a2a184529489.tar.gz | |
Tests: Ensure Solaris linker never sees empty contents
Fixes the following tests on Solaris builds: wrapping, qtwrapping and
CMakeCommands.target_link_libraries
Diffstat (limited to 'Tests/CMakeCommands')
| -rw-r--r-- | Tests/CMakeCommands/target_link_libraries/empty.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/CMakeCommands/target_link_libraries/empty.cpp b/Tests/CMakeCommands/target_link_libraries/empty.cpp index ab32cf6c8a..a6ecef81f3 100644 --- a/Tests/CMakeCommands/target_link_libraries/empty.cpp +++ b/Tests/CMakeCommands/target_link_libraries/empty.cpp @@ -1 +1,3 @@ -// No content +// Solaris needs non-empty content so ensure +// we have at least one symbol +int Solaris_requires_a_symbol_here = 0; |
