Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ENH: use CMake 2.6 (to avoid more policy issues)

  • Loading branch information...
commit 34042bef2bdccc9d4f64db3ceabcadb8dc3086d9 1 parent e1c9c5e
barre authored
Showing with 22 additions and 88 deletions.
  1. +1 −4 CMake/KWWidgetsInternationalizationMacros.cmake
  2. +1 −4 CMakeLists.txt
  3. +1 −4 Examples/CMakeLists.txt
  4. +1 −4 Examples/Cxx/Callbacks/CMakeLists.txt
  5. +1 −4 Examples/Cxx/FileBrowserDialog/CMakeLists.txt
  6. +1 −4 Examples/Cxx/HelloWorld/CMakeLists.txt
  7. +1 −4 Examples/Cxx/Internationalization/CMakeLists.txt
  8. +1 −4 Examples/Cxx/MedicalImageViewer/CMakeLists.txt
  9. +1 −4 Examples/Cxx/PolygonalObjectViewer/CMakeLists.txt
  10. +1 −4 Examples/Cxx/SOViewer/CMakeLists.txt
  11. +1 −4 Examples/Cxx/Theme/CMakeLists.txt
  12. +1 −4 Examples/Cxx/Tutorial1/CMakeLists.txt
  13. +1 −4 Examples/Cxx/WidgetsTour/CMakeLists.txt
  14. +1 −4 Examples/Cxx/WindowWithPanels/CMakeLists.txt
  15. +1 −4 Examples/Cxx/WizardDialog/CMakeLists.txt
  16. +1 −4 Examples/Python/HelloWorld/CMakeLists.txt
  17. +1 −4 Examples/Python/WidgetsTour/CMakeLists.txt
  18. +1 −4 Examples/Tcl/HelloWorld/CMakeLists.txt
  19. +1 −4 Examples/Tcl/MedicalImageViewer/CMakeLists.txt
  20. +1 −4 Examples/Tcl/PolygonalObjectViewer/CMakeLists.txt
  21. +1 −4 Examples/Tcl/WidgetsTour/CMakeLists.txt
  22. +1 −4 Examples/Tcl/WindowWithPanels/CMakeLists.txt
View
5 CMake/KWWidgetsInternationalizationMacros.cmake
@@ -115,10 +115,7 @@
# CREATE_MO_TARGET was true.
# Default to 0.
-cmake_minimum_required(VERSION 2.4)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.6)
macro(KWWidgets_CREATE_GETTEXT_TARGETS)
View
5 CMakeLists.txt
@@ -1,7 +1,4 @@
-cmake_minimum_required(VERSION 2.4)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.6)
project(KWWidgets)
View
5 Examples/CMakeLists.txt
@@ -1,7 +1,4 @@
-cmake_minimum_required(VERSION 2.4)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.6)
project(KWWidgetsExamples)
View
5 Examples/Cxx/Callbacks/CMakeLists.txt
@@ -1,7 +1,4 @@
-cmake_minimum_required(VERSION 2.4)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.6)
project(Callbacks)
View
5 Examples/Cxx/FileBrowserDialog/CMakeLists.txt
@@ -1,7 +1,4 @@
-cmake_minimum_required(VERSION 2.4)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.6)
project(FileBrowserDialog)
View
5 Examples/Cxx/HelloWorld/CMakeLists.txt
@@ -1,7 +1,4 @@
-cmake_minimum_required(VERSION 2.4)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.6)
project(HelloWorld)
View
5 Examples/Cxx/Internationalization/CMakeLists.txt
@@ -1,7 +1,4 @@
-cmake_minimum_required(VERSION 2.4)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.6)
project(Internationalization)
View
5 Examples/Cxx/MedicalImageViewer/CMakeLists.txt
@@ -1,7 +1,4 @@
-cmake_minimum_required(VERSION 2.4)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.6)
project(MedicalImageViewer)
View
5 Examples/Cxx/PolygonalObjectViewer/CMakeLists.txt
@@ -1,7 +1,4 @@
-cmake_minimum_required(VERSION 2.4)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.6)
project(PolygonalObjectViewer)
View
5 Examples/Cxx/SOViewer/CMakeLists.txt
@@ -1,7 +1,4 @@
-cmake_minimum_required(VERSION 2.4)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.6)
project(SOViewer)
View
5 Examples/Cxx/Theme/CMakeLists.txt
@@ -1,7 +1,4 @@
-cmake_minimum_required(VERSION 2.4)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.6)
project(Theme)
View
5 Examples/Cxx/Tutorial1/CMakeLists.txt
@@ -1,7 +1,4 @@
-cmake_minimum_required(VERSION 2.4)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.6)
project(Tutorial1)
View
5 Examples/Cxx/WidgetsTour/CMakeLists.txt
@@ -1,7 +1,4 @@
-cmake_minimum_required(VERSION 2.4)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.6)
project(WidgetsTour)
View
5 Examples/Cxx/WindowWithPanels/CMakeLists.txt
@@ -1,7 +1,4 @@
-cmake_minimum_required(VERSION 2.4)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.6)
project(WindowWithPanels)
View
5 Examples/Cxx/WizardDialog/CMakeLists.txt
@@ -1,7 +1,4 @@
-cmake_minimum_required(VERSION 2.4)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.6)
project(WizardDialog)
View
5 Examples/Python/HelloWorld/CMakeLists.txt
@@ -1,7 +1,4 @@
-cmake_minimum_required(VERSION 2.4)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.6)
project(HelloWorld)
View
5 Examples/Python/WidgetsTour/CMakeLists.txt
@@ -1,7 +1,4 @@
-cmake_minimum_required(VERSION 2.4)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.6)
project(WidgetsTour)
View
5 Examples/Tcl/HelloWorld/CMakeLists.txt
@@ -1,7 +1,4 @@
-cmake_minimum_required(VERSION 2.4)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.6)
project(HelloWorld)
View
5 Examples/Tcl/MedicalImageViewer/CMakeLists.txt
@@ -1,7 +1,4 @@
-cmake_minimum_required(VERSION 2.4)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.6)
project(MedicalImageViewer)
View
5 Examples/Tcl/PolygonalObjectViewer/CMakeLists.txt
@@ -1,7 +1,4 @@
-cmake_minimum_required(VERSION 2.4)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.6)
project(PolygonalObjectViewer)
View
5 Examples/Tcl/WidgetsTour/CMakeLists.txt
@@ -1,7 +1,4 @@
-cmake_minimum_required(VERSION 2.4)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.6)
project(WidgetsTour)
View
5 Examples/Tcl/WindowWithPanels/CMakeLists.txt
@@ -1,7 +1,4 @@
-cmake_minimum_required(VERSION 2.4)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
+cmake_minimum_required(VERSION 2.6)
project(WindowWithPanels)
Please sign in to comment.
Something went wrong with that request. Please try again.