[commit] r2085 - add required includes to plugin include dirs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[commit] r2085 - add required includes to plugin include dirs

commits-3
 
Author: piumarta
Date: 2009-08-25 19:47:42 -0700 (Tue, 25 Aug 2009)
New Revision: 2085

Modified:
   trunk/platforms/unix/ChangeLog
   trunk/platforms/unix/cmake/PluginExternal.cmake
   trunk/platforms/unix/cmake/PluginInternal.cmake
Log:
add required includes to plugin include dirs

Modified: trunk/platforms/unix/ChangeLog
===================================================================
--- trunk/platforms/unix/ChangeLog 2009-08-25 20:54:12 UTC (rev 2084)
+++ trunk/platforms/unix/ChangeLog 2009-08-26 02:47:42 UTC (rev 2085)
@@ -1,5 +1,8 @@
-2009-08-25    <[hidden email]>
+2009-08-25    <[hidden email]>
 
+ * cmake/PluginInternal.cmake, cmake/PluginExternal.cmake: Add
+ CMAKE_REQUIRED_INCLUDES to plugin INCLUDE_DIRECTORIES.
+
  * cmake/Plugins.cmake: Add macros PLUGIN_DISABLE, PLUGIN_SOURCES,
  PLUGIN_DEFINITIONS, PLUGIN_INCLUDE_DIRECTORIES,
  PLUGIN_LINK_DIRECTORIES, PLUGIN_LINK_LIBRARIES.

Modified: trunk/platforms/unix/cmake/PluginExternal.cmake
===================================================================
--- trunk/platforms/unix/cmake/PluginExternal.cmake 2009-08-25 20:54:12 UTC (rev 2084)
+++ trunk/platforms/unix/cmake/PluginExternal.cmake 2009-08-26 02:47:42 UTC (rev 2085)
@@ -10,6 +10,7 @@
     ${unix}/plugins/@plugin@
     ${unix}/@plugin@
     ${cross}/plugins/@plugin@
+    ${CMAKE_REQUIRED_INCLUDES}
 )
 
 ADD_LIBRARY (@plugin@ MODULE @plugin_sources@)

Modified: trunk/platforms/unix/cmake/PluginInternal.cmake
===================================================================
--- trunk/platforms/unix/cmake/PluginInternal.cmake 2009-08-25 20:54:12 UTC (rev 2084)
+++ trunk/platforms/unix/cmake/PluginInternal.cmake 2009-08-26 02:47:42 UTC (rev 2085)
@@ -10,6 +10,7 @@
     ${unix}/plugins/@plugin@
     ${unix}/@plugin@
     ${cross}/plugins/@plugin@
+    ${CMAKE_REQUIRED_INCLUDES}
 )
 
 ADD_LIBRARY (@plugin@ STATIC @plugin_sources@)