Permalink
Browse files

Improver cmake version test

  • Loading branch information...
1 parent 08cbf90 commit 0d2784225c6d0a637861c03fd2186d9ac1a2a2ad @jtappin jtappin committed Nov 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/CMakeLists.txt
View
2 examples/CMakeLists.txt
@@ -192,7 +192,7 @@ if (NOT NO_BUILD_EXAMPLES)
target_link_libraries(notebooks gtk-fortran_static ${GTK_LIBRARIES})
add_test(notebooks ./notebooks)
- if (CMAKE_VERSION VERSION_GREATER 2.8.10)
+ if (NOT CMAKE_VERSION VERSION_LESS 2.8.11)
add_executable(gio_demo "gio_demo.f90")
target_link_libraries(gio_demo gtk-fortran_static ${GTK_LIBRARIES})
add_test(gio_demo ./gio_demo)

0 comments on commit 0d27842

Please sign in to comment.