Hi Kim,

Kim Bale <kcb...@googlemail.com> wrote:
> Hi Pankaj,
> If you don't require the debug versions I think you can simply put in the
> names of the release versions in their place within CMake.

Could the CMakeFile.txt be fixed that if no debug version is found cmake 
doesn't fail? I want to build a release (default) and it fails because the 
debug version of OSG is not there - it shouldn't be required for building 
release and/or if not on Windows (you can safely mix debug/release except on 
Windows). Also, on Linux there is usually no "d" suffix for debug versions - 
OSG 
has a macro to deal with that.

Furthermore, you may want to fix the following to bring osgOcean in line with 
the other plugins/nodekits regarding installation - headers should be 
installed under osgOcean subdir and the shared lib should go into the lib not 
bin subdirectory.

$ svn diff src/osgOcean/CMakeLists.txt
Index: src/osgOcean/CMakeLists.txt
===================================================================
--- src/osgOcean/CMakeLists.txt (revision 128)
+++ src/osgOcean/CMakeLists.txt (working copy)
@@ -117,10 +117,10 @@

 INSTALL(
   TARGETS osgOcean
-  LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
+  LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib
   RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
   ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/lib
-  PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_PREFIX}/include
+  PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_PREFIX}/include/osgOcean
 )

 INSTALL(

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to