Browse Source

CMake: Record the location that headers are installed

This populates INTERFACE_INCLUDE_DIRECTORIES on the targets
after they're installed.
Sam Edwards 6 years ago
parent
commit
1a654cba04
69 changed files with 71 additions and 0 deletions
  1. 1 0
      contrib/src/ai/CMakeLists.txt
  2. 1 0
      contrib/src/rplight/CMakeLists.txt
  3. 1 0
      direct/src/dcparser/CMakeLists.txt
  4. 1 0
      direct/src/deadrec/CMakeLists.txt
  5. 1 0
      direct/src/distributed/CMakeLists.txt
  6. 1 0
      direct/src/interval/CMakeLists.txt
  7. 1 0
      direct/src/motiontrail/CMakeLists.txt
  8. 1 0
      direct/src/showbase/CMakeLists.txt
  9. 1 0
      dtool/metalibs/dtool/CMakeLists.txt
  10. 1 0
      dtool/metalibs/dtoolconfig/CMakeLists.txt
  11. 1 0
      dtool/src/dtoolbase/CMakeLists.txt
  12. 1 0
      dtool/src/dtoolutil/CMakeLists.txt
  13. 1 0
      dtool/src/interrogatedb/CMakeLists.txt
  14. 1 0
      dtool/src/prc/CMakeLists.txt
  15. 1 0
      panda/metalibs/panda/CMakeLists.txt
  16. 1 0
      panda/metalibs/pandaegg/CMakeLists.txt
  17. 1 0
      panda/metalibs/pandaexpress/CMakeLists.txt
  18. 1 0
      panda/metalibs/pandaphysics/CMakeLists.txt
  19. 1 0
      panda/src/audio/CMakeLists.txt
  20. 2 0
      panda/src/audiotraits/CMakeLists.txt
  21. 1 0
      panda/src/bullet/CMakeLists.txt
  22. 1 0
      panda/src/chan/CMakeLists.txt
  23. 1 0
      panda/src/char/CMakeLists.txt
  24. 1 0
      panda/src/collide/CMakeLists.txt
  25. 1 0
      panda/src/cull/CMakeLists.txt
  26. 1 0
      panda/src/device/CMakeLists.txt
  27. 1 0
      panda/src/dgraph/CMakeLists.txt
  28. 1 0
      panda/src/display/CMakeLists.txt
  29. 1 0
      panda/src/distort/CMakeLists.txt
  30. 1 0
      panda/src/downloader/CMakeLists.txt
  31. 1 0
      panda/src/dxgsg9/CMakeLists.txt
  32. 1 0
      panda/src/dxml/CMakeLists.txt
  33. 1 0
      panda/src/egg/CMakeLists.txt
  34. 1 0
      panda/src/egg2pg/CMakeLists.txt
  35. 2 0
      panda/src/egldisplay/CMakeLists.txt
  36. 1 0
      panda/src/event/CMakeLists.txt
  37. 1 0
      panda/src/express/CMakeLists.txt
  38. 1 0
      panda/src/ffmpeg/CMakeLists.txt
  39. 1 0
      panda/src/framework/CMakeLists.txt
  40. 1 0
      panda/src/gles2gsg/CMakeLists.txt
  41. 1 0
      panda/src/glesgsg/CMakeLists.txt
  42. 1 0
      panda/src/glgsg/CMakeLists.txt
  43. 1 0
      panda/src/glstuff/CMakeLists.txt
  44. 1 0
      panda/src/gobj/CMakeLists.txt
  45. 1 0
      panda/src/grutil/CMakeLists.txt
  46. 1 0
      panda/src/gsgbase/CMakeLists.txt
  47. 1 0
      panda/src/linmath/CMakeLists.txt
  48. 1 0
      panda/src/mathutil/CMakeLists.txt
  49. 1 0
      panda/src/movies/CMakeLists.txt
  50. 1 0
      panda/src/nativenet/CMakeLists.txt
  51. 1 0
      panda/src/net/CMakeLists.txt
  52. 1 0
      panda/src/ode/CMakeLists.txt
  53. 1 0
      panda/src/parametrics/CMakeLists.txt
  54. 1 0
      panda/src/particlesystem/CMakeLists.txt
  55. 1 0
      panda/src/pgraph/CMakeLists.txt
  56. 1 0
      panda/src/pgraphnodes/CMakeLists.txt
  57. 1 0
      panda/src/pgui/CMakeLists.txt
  58. 1 0
      panda/src/physics/CMakeLists.txt
  59. 1 0
      panda/src/pipeline/CMakeLists.txt
  60. 1 0
      panda/src/pnmimage/CMakeLists.txt
  61. 1 0
      panda/src/pnmtext/CMakeLists.txt
  62. 1 0
      panda/src/pstatclient/CMakeLists.txt
  63. 1 0
      panda/src/putil/CMakeLists.txt
  64. 1 0
      panda/src/recorder/CMakeLists.txt
  65. 1 0
      panda/src/text/CMakeLists.txt
  66. 1 0
      panda/src/tform/CMakeLists.txt
  67. 1 0
      panda/src/vision/CMakeLists.txt
  68. 1 0
      panda/src/vrpn/CMakeLists.txt
  69. 1 0
      panda/src/wgldisplay/CMakeLists.txt

+ 1 - 0
contrib/src/ai/CMakeLists.txt

@@ -49,5 +49,6 @@ install(TARGETS p3ai
   EXPORT Contrib COMPONENT Contrib
   DESTINATION lib
   RUNTIME DESTINATION bin
+  INCLUDES DESTINATION include/panda3d
   ARCHIVE COMPONENT ContribDevel)
 install(FILES ${P3AI_HEADERS} COMPONENT ContribDevel DESTINATION include/panda3d)

+ 1 - 0
contrib/src/rplight/CMakeLists.txt

@@ -47,5 +47,6 @@ install(TARGETS p3rplight
   EXPORT Contrib COMPONENT Contrib
   DESTINATION lib
   RUNTIME DESTINATION bin
+  INCLUDES DESTINATION include/panda3d
   ARCHIVE COMPONENT ContribDevel)
 install(FILES ${P3RPLIGHT_HEADERS} COMPONENT ContribDevel DESTINATION include/panda3d)

+ 1 - 0
direct/src/dcparser/CMakeLists.txt

@@ -81,6 +81,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Direct COMPONENT Direct
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT DirectDevel)
 endif()
 install(FILES ${P3DCPARSER_HEADERS} COMPONENT DirectDevel DESTINATION include/panda3d)

+ 1 - 0
direct/src/deadrec/CMakeLists.txt

@@ -18,6 +18,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Direct COMPONENT Direct
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT DirectDevel)
 endif()
 install(FILES ${P3DEADREC_HEADERS} COMPONENT DirectDevel DESTINATION include/panda3d)

+ 1 - 0
direct/src/distributed/CMakeLists.txt

@@ -29,6 +29,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Direct COMPONENT Direct
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT DirectDevel)
 endif()
 install(FILES ${P3DISTRIBUTED_HEADERS} COMPONENT DirectDevel DESTINATION include/panda3d)

+ 1 - 0
direct/src/interval/CMakeLists.txt

@@ -48,6 +48,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Direct COMPONENT Direct
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT DirectDevel)
 endif()
 install(FILES ${P3INTERVAL_HEADERS} COMPONENT DirectDevel DESTINATION include/panda3d)

+ 1 - 0
direct/src/motiontrail/CMakeLists.txt

@@ -18,6 +18,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Direct COMPONENT Direct
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT DirectDevel)
 endif()
 install(FILES ${P3MOTIONTRAIL_HEADERS} COMPONENT DirectDevel DESTINATION include/panda3d)

+ 1 - 0
direct/src/showbase/CMakeLists.txt

@@ -21,6 +21,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Direct COMPONENT Direct
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT DirectDevel)
 endif()
 install(FILES ${P3SHOWBASE_HEADERS} COMPONENT DirectDevel DESTINATION include/panda3d)

+ 1 - 0
dtool/metalibs/dtool/CMakeLists.txt

@@ -6,4 +6,5 @@ install(TARGETS p3dtool
   EXPORT Core COMPONENT Core
   DESTINATION lib
   RUNTIME DESTINATION bin
+  INCLUDES DESTINATION include/panda3d
   ARCHIVE COMPONENT CoreDevel)

+ 1 - 0
dtool/metalibs/dtoolconfig/CMakeLists.txt

@@ -7,4 +7,5 @@ install(TARGETS p3dtoolconfig
   EXPORT Core COMPONENT Core
   DESTINATION lib
   RUNTIME DESTINATION bin
+  INCLUDES DESTINATION include/panda3d
   ARCHIVE COMPONENT CoreDevel)

+ 1 - 0
dtool/src/dtoolbase/CMakeLists.txt

@@ -100,6 +100,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3DTOOLBASE_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
dtool/src/dtoolutil/CMakeLists.txt

@@ -147,6 +147,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3DTOOLUTIL_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
dtool/src/interrogatedb/CMakeLists.txt

@@ -43,6 +43,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3INTERROGATEDB_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
dtool/src/prc/CMakeLists.txt

@@ -96,6 +96,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3PRC_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/metalibs/panda/CMakeLists.txt

@@ -28,4 +28,5 @@ install(TARGETS panda
   EXPORT Core COMPONENT Core
   DESTINATION lib
   RUNTIME DESTINATION bin
+  INCLUDES DESTINATION include/panda3d
   ARCHIVE COMPONENT CoreDevel)

+ 1 - 0
panda/metalibs/pandaegg/CMakeLists.txt

@@ -13,6 +13,7 @@ install(TARGETS pandaegg
   EXPORT Egg COMPONENT Egg
   DESTINATION lib
   RUNTIME DESTINATION bin
+  INCLUDES DESTINATION include/panda3d
   ARCHIVE COMPONENT EggDevel)
 
 export_targets(Egg COMPONENT EggDevel)

+ 1 - 0
panda/metalibs/pandaexpress/CMakeLists.txt

@@ -8,4 +8,5 @@ install(TARGETS pandaexpress
   EXPORT Core COMPONENT Core
   DESTINATION lib
   RUNTIME DESTINATION bin
+  INCLUDES DESTINATION include/panda3d
   ARCHIVE COMPONENT CoreDevel)

+ 1 - 0
panda/metalibs/pandaphysics/CMakeLists.txt

@@ -8,4 +8,5 @@ install(TARGETS pandaphysics
   EXPORT Core COMPONENT Core
   DESTINATION lib
   RUNTIME DESTINATION bin
+  INCLUDES DESTINATION include/panda3d
   ARCHIVE COMPONENT CoreDevel)

+ 1 - 0
panda/src/audio/CMakeLists.txt

@@ -33,6 +33,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3AUDIO_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 2 - 0
panda/src/audiotraits/CMakeLists.txt

@@ -25,6 +25,7 @@ if(HAVE_FMODEX)
     EXPORT FMOD COMPONENT FMOD
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT FMODDevel)
   install(FILES ${P3FMOD_HEADERS} COMPONENT FMODDevel DESTINATION include/panda3d)
 
@@ -52,6 +53,7 @@ if(HAVE_OPENAL)
     EXPORT OpenAL COMPONENT OpenAL
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT OpenALDevel)
   install(FILES ${P3OPENAL_HEADERS} COMPONENT OpenALDevel DESTINATION include/panda3d)
 

+ 1 - 0
panda/src/bullet/CMakeLists.txt

@@ -118,6 +118,7 @@ install(TARGETS p3bullet
   EXPORT Bullet COMPONENT Bullet
   DESTINATION lib
   RUNTIME DESTINATION bin
+  INCLUDES DESTINATION include/panda3d
   ARCHIVE COMPONENT BulletDevel)
 install(FILES ${P3BULLET_HEADERS} COMPONENT BulletDevel DESTINATION include/panda3d)
 

+ 1 - 0
panda/src/chan/CMakeLists.txt

@@ -63,6 +63,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3CHAN_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/char/CMakeLists.txt

@@ -30,6 +30,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3CHAR_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/collide/CMakeLists.txt

@@ -76,6 +76,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3COLLIDE_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/cull/CMakeLists.txt

@@ -31,6 +31,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3CULL_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/device/CMakeLists.txt

@@ -74,6 +74,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3DEVICE_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/dgraph/CMakeLists.txt

@@ -23,6 +23,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3DGRAPH_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/display/CMakeLists.txt

@@ -110,6 +110,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3DISPLAY_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/distort/CMakeLists.txt

@@ -28,5 +28,6 @@ install(TARGETS pandafx
   EXPORT Core COMPONENT Core
   DESTINATION lib
   RUNTIME DESTINATION bin
+  INCLUDES DESTINATION include/panda3d
   ARCHIVE COMPONENT CoreDevel)
 install(FILES ${P3DISTORT_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/downloader/CMakeLists.txt

@@ -69,6 +69,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3DOWNLOADER_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/dxgsg9/CMakeLists.txt

@@ -50,6 +50,7 @@ if(NOT BUILD_METALIBS)
     EXPORT DX9 COMPONENT DX9
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT DX9Devel)
 endif()
 install(FILES ${P3DXGSG9_HEADERS} COMPONENT DX9Devel DESTINATION include/panda3d)

+ 1 - 0
panda/src/dxml/CMakeLists.txt

@@ -22,6 +22,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3DXML_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/egg/CMakeLists.txt

@@ -109,6 +109,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Egg COMPONENT Egg
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT EggDevel)
 endif()
 install(FILES ${P3EGG_HEADERS} COMPONENT EggDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/egg2pg/CMakeLists.txt

@@ -43,6 +43,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Egg COMPONENT Egg
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT EggDevel)
 endif()
 install(FILES ${P3EGG2PG_HEADERS} COMPONENT EggDevel DESTINATION include/panda3d)

+ 2 - 0
panda/src/egldisplay/CMakeLists.txt

@@ -40,6 +40,7 @@ if(HAVE_GLES1)
       EXPORT GLES COMPONENT GLES
       DESTINATION lib
       RUNTIME DESTINATION bin
+      INCLUDES DESTINATION include/panda3d
       ARCHIVE COMPONENT GLESDevel)
   endif()
 endif()
@@ -57,6 +58,7 @@ if(HAVE_GLES2)
       EXPORT GLES COMPONENT GLES
       DESTINATION lib
       RUNTIME DESTINATION bin
+      INCLUDES DESTINATION include/panda3d
       ARCHIVE COMPONENT GLESDevel)
   endif()
 endif()

+ 1 - 0
panda/src/event/CMakeLists.txt

@@ -55,6 +55,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3EVENT_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/express/CMakeLists.txt

@@ -167,6 +167,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3EXPRESS_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/ffmpeg/CMakeLists.txt

@@ -38,6 +38,7 @@ install(TARGETS p3ffmpeg
   EXPORT FFmpeg COMPONENT FFmpeg
   DESTINATION lib
   RUNTIME DESTINATION bin
+  INCLUDES DESTINATION include/panda3d
   ARCHIVE COMPONENT FFmpegDevel)
 install(FILES ${P3FFMPEG_HEADERS} COMPONENT FFmpegDevel DESTINATION include/panda3d)
 

+ 1 - 0
panda/src/framework/CMakeLists.txt

@@ -55,6 +55,7 @@ install(TARGETS p3framework
   EXPORT Framework COMPONENT Framework
   DESTINATION lib
   RUNTIME DESTINATION bin
+  INCLUDES DESTINATION include/panda3d
   ARCHIVE COMPONENT FrameworkDevel)
 install(FILES ${P3FRAMEWORK_HEADERS} COMPONENT FrameworkDevel DESTINATION include/panda3d)
 

+ 1 - 0
panda/src/gles2gsg/CMakeLists.txt

@@ -23,6 +23,7 @@ if(NOT BUILD_METALIBS)
     EXPORT GLES COMPONENT GLES
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT GLESDevel)
 endif()
 install(FILES ${P3GLES2GSG_HEADERS} COMPONENT GLESDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/glesgsg/CMakeLists.txt

@@ -23,6 +23,7 @@ if(NOT BUILD_METALIBS)
     EXPORT GLES COMPONENT GLES
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT GLESDevel)
 endif()
 install(FILES ${P3GLESGSG_HEADERS} COMPONENT GLESDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/glgsg/CMakeLists.txt

@@ -22,6 +22,7 @@ if(NOT BUILD_METALIBS)
     EXPORT OpenGL COMPONENT OpenGL
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT OpenGLDevel)
 endif()
 install(FILES ${P3GLGSG_HEADERS} COMPONENT OpenGLDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/glstuff/CMakeLists.txt

@@ -42,6 +42,7 @@ if(NOT BUILD_METALIBS)
     EXPORT OpenGL COMPONENT OpenGL
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT OpenGLDevel)
 endif()
 install(FILES ${P3GLSTUFF_HEADERS} COMPONENT OpenGLDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/gobj/CMakeLists.txt

@@ -189,6 +189,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3GOBJ_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/grutil/CMakeLists.txt

@@ -60,6 +60,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3GRUTIL_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/gsgbase/CMakeLists.txt

@@ -21,6 +21,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3GSGBASE_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/linmath/CMakeLists.txt

@@ -57,6 +57,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3LINMATH_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/mathutil/CMakeLists.txt

@@ -76,6 +76,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3MATHUTIL_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/movies/CMakeLists.txt

@@ -56,6 +56,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3MOVIES_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/nativenet/CMakeLists.txt

@@ -42,6 +42,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3NATIVENET_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/net/CMakeLists.txt

@@ -45,6 +45,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3NET_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/ode/CMakeLists.txt

@@ -96,6 +96,7 @@ install(TARGETS p3ode
   EXPORT ODE COMPONENT ODE
   DESTINATION lib
   RUNTIME DESTINATION bin
+  INCLUDES DESTINATION include/panda3d
   ARCHIVE COMPONENT ODEDevel)
 install(FILES ${P3ODE_HEADERS} COMPONENT ODEDevel DESTINATION include/panda3d)
 

+ 1 - 0
panda/src/parametrics/CMakeLists.txt

@@ -45,6 +45,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3PARAMETRICS_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/particlesystem/CMakeLists.txt

@@ -58,6 +58,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3PARTICLESYSTEM_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/pgraph/CMakeLists.txt

@@ -235,6 +235,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3PGRAPH_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/pgraphnodes/CMakeLists.txt

@@ -55,6 +55,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3PGRAPHNODES_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/pgui/CMakeLists.txt

@@ -51,6 +51,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3PGUI_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/physics/CMakeLists.txt

@@ -49,6 +49,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3PHYSICS_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/pipeline/CMakeLists.txt

@@ -142,6 +142,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3PIPELINE_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/pnmimage/CMakeLists.txt

@@ -50,6 +50,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3PNMIMAGE_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/pnmtext/CMakeLists.txt

@@ -29,6 +29,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3PNMTEXT_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/pstatclient/CMakeLists.txt

@@ -38,6 +38,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3PSTATCLIENT_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/putil/CMakeLists.txt

@@ -143,6 +143,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3PUTIL_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/recorder/CMakeLists.txt

@@ -28,6 +28,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3RECORDER_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/text/CMakeLists.txt

@@ -52,6 +52,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3TEXT_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/tform/CMakeLists.txt

@@ -39,6 +39,7 @@ if(NOT BUILD_METALIBS)
     EXPORT Core COMPONENT Core
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT CoreDevel)
 endif()
 install(FILES ${P3TFORM_HEADERS} COMPONENT CoreDevel DESTINATION include/panda3d)

+ 1 - 0
panda/src/vision/CMakeLists.txt

@@ -47,6 +47,7 @@ install(TARGETS p3vision
   EXPORT Vision COMPONENT Vision
   DESTINATION lib
   RUNTIME DESTINATION bin
+  INCLUDES DESTINATION include/panda3d
   ARCHIVE COMPONENT VisionDevel)
 install(FILES ${P3VISION_HEADERS} COMPONENT VisionDevel DESTINATION include/panda3d)
 

+ 1 - 0
panda/src/vrpn/CMakeLists.txt

@@ -39,6 +39,7 @@ install(TARGETS p3vrpn
   EXPORT VRPN COMPONENT VRPN
   DESTINATION lib
   RUNTIME DESTINATION bin
+  INCLUDES DESTINATION include/panda3d
   ARCHIVE COMPONENT VRPNDevel)
 install(FILES ${P3VRPN_HEADERS} COMPONENT VRPNDevel DESTINATION include/panda3d)
 

+ 1 - 0
panda/src/wgldisplay/CMakeLists.txt

@@ -29,6 +29,7 @@ if(NOT BUILD_METALIBS)
     EXPORT OpenGL COMPONENT OpenGL
     DESTINATION lib
     RUNTIME DESTINATION bin
+    INCLUDES DESTINATION include/panda3d
     ARCHIVE COMPONENT OpenGLDevel)
 endif()
 install(FILES ${P3WGLDISPLAY_HEADERS} COMPONENT OpenGLDevel DESTINATION include/panda3d)