> > Thanks for reporting this. It has been fixed on master and will be
> > included in 3.8.1 release.
> > 
> > http://paraview.org/Bug/view.php?id=10815
> 
> What about the double expansion of DESTDIR? The bug only mention respecting
> BUILD_EXAMPLES.
> 
I am not sure it is where it was meant to go but I applied this patch to make
it respect DESTDIR and finally land in "/usr/bin" under linux.
I didn't do a complete analysis of what goes wrong with ${PROJECT_BINARY_DIR}
and just replaced it by ${PV_INSTALL_BIN_DIR}.

Francois
--- Plugins/PointSprite/Examples/Rendering/Cxx/CMakeLists.txt.orig	2010-06-11 22:54:37.423952532 +1200
+++ Plugins/PointSprite/Examples/Rendering/Cxx/CMakeLists.txt	2010-06-11 22:55:07.546951156 +1200
@@ -6,5 +6,5 @@
 target_link_libraries(${exe} PointSprite_Rendering vtkIO)
 
 install(TARGETS ${exe} 
-    RUNTIME DESTINATION ${PROJECT_BINARY_DIR}
+    RUNTIME DESTINATION ${PV_INSTALL_BIN_DIR}
 )
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to