0003-Activate-osgviewerWX.patch 952 B

12345678910111213141516171819202122232425262728293031
  1. From fd9157fc6f7258d14b8dee753184c410d3c90293 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corsepiu@fedoraproject.org>
  3. Date: Wed, 14 Aug 2013 12:36:32 +0200
  4. Subject: [PATCH 3/3] Activate osgviewerWX.
  5. ---
  6. examples/CMakeLists.txt | 6 ++----
  7. 1 file changed, 2 insertions(+), 4 deletions(-)
  8. diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
  9. index 22b58b7..dffc586 100644
  10. --- a/examples/CMakeLists.txt
  11. +++ b/examples/CMakeLists.txt
  12. @@ -200,11 +200,9 @@ IF(DYNAMIC_OPENSCENEGRAPH)
  13. ADD_SUBDIRECTORY(osgviewerFOX)
  14. ENDIF(FOX_FOUND)
  15. - IF (wxWidgets_FOUND AND CMAKE_BUILD_TYPE)
  16. - IF (${CMAKE_BUILD_TYPE} STREQUAL "Release")
  17. + IF (wxWidgets_FOUND)
  18. ADD_SUBDIRECTORY(osgviewerWX)
  19. - ENDIF()
  20. - ENDIF()
  21. + ENDIF(wxWidgets_FOUND)
  22. IF ( (QT4_FOUND OR Qt5Widgets_FOUND) AND NOT OSG_GLES1_AVAILABLE AND NOT OSG_GLES2_AVAILABLE AND NOT OSG_GL3_AVAILABLE)
  23. --
  24. 1.8.3.1