diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2018-07-12 15:17:38 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2018-07-17 13:07:01 (GMT) |
commit | 69ca768e7827c60b07914f248d7730fb7182ce4b (patch) | |
tree | ea516ca4382cb2a736043259dda033af61270498 /Tests/RunCMake/install/obj1.c | |
parent | 25c3fb6c3512a76d45fd8a70d95fabe2777a4c2d (diff) | |
download | CMake-69ca768e7827c60b07914f248d7730fb7182ce4b.zip CMake-69ca768e7827c60b07914f248d7730fb7182ce4b.tar.gz CMake-69ca768e7827c60b07914f248d7730fb7182ce4b.tar.bz2 |
Tests: Add test for install(TARGETS) RPATH functionality
Diffstat (limited to 'Tests/RunCMake/install/obj1.c')
-rw-r--r-- | Tests/RunCMake/install/obj1.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/RunCMake/install/obj1.c b/Tests/RunCMake/install/obj1.c index 2411aab..70007df 100644 --- a/Tests/RunCMake/install/obj1.c +++ b/Tests/RunCMake/install/obj1.c @@ -1,4 +1,7 @@ -int obj1(void) +#ifdef _WIN32 +__declspec(dllexport) +#endif + int obj1(void) { return 0; } |