summaryrefslogtreecommitdiffstats
path: root/Tests/MacRuntimePath/A/framework2.h
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2013-07-16 04:23:12 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2013-07-16 04:39:08 (GMT)
commite645ff0b10567e400c722dfc28c58dc4fd8d181b (patch)
treea2ba239079f137345d940c527057d4e94d1ed463 /Tests/MacRuntimePath/A/framework2.h
parentb94e726a83b92f5b7376b97aa448107884a76685 (diff)
downloadCMake-e645ff0b10567e400c722dfc28c58dc4fd8d181b.zip
CMake-e645ff0b10567e400c722dfc28c58dc4fd8d181b.tar.gz
CMake-e645ff0b10567e400c722dfc28c58dc4fd8d181b.tar.bz2
OS X: Enable rpath support on Mac OS X when find_library() is used.
Diffstat (limited to 'Tests/MacRuntimePath/A/framework2.h')
-rw-r--r--Tests/MacRuntimePath/A/framework2.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/MacRuntimePath/A/framework2.h b/Tests/MacRuntimePath/A/framework2.h
new file mode 100644
index 0000000..4576d12
--- /dev/null
+++ b/Tests/MacRuntimePath/A/framework2.h
@@ -0,0 +1,17 @@
+
+#ifndef framework2_h
+#define framework2_h
+
+#ifdef WIN32
+# ifdef framework2_EXPORTS
+# define FRAMEWORK2_EXPORT __declspec(dllexport)
+# else
+# define FRAMEWORK2_EXPORT __declspec(dllimport)
+# endif
+#else
+# define FRAMEWORK2_EXPORT
+#endif
+
+void FRAMEWORK2_EXPORT framework2();
+
+#endif