update some examples to require cmake v3

This commit is contained in:
Thom Troy
2016-08-17 00:09:36 +01:00
parent 3335200e43
commit 90013579f9
16 changed files with 123 additions and 47 deletions

View File

@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 2.6)
cmake_minimum_required (VERSION 3.0)
project(cppcheck_analysis)
@@ -23,4 +23,4 @@ if( CPPCHECK_FOUND )
ADD_DEPENDENCIES(analysis ${ALL_ANALYSIS_TARGETS})
set_target_properties(analysis PROPERTIES EXCLUDE_FROM_ALL TRUE)
message("analysis analysis targets are ${ALL_ANALYSIS_TARGETS}")
endif()
endif()