File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
cmake/vcpkg/ports/cppcheck Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ find_package(cmake-modules REQUIRED)
30
30
include (cmake-modules/ProjectDefault )
31
31
32
32
find_program (cppcheck NAMES "cppcheck" "cppcheck.exe" )
33
-
34
- install (PROGRAMS ${cppcheck} DESTINATION ${SKBUILD_PROJECT_NAME} /Cppcheck )
33
+ cmake_path (GET cppcheck PARENT_PATH cppcheck_dir )
34
+ file (GLOB cppcheck_runtimes ${cppcheck_dir} /* )
35
+ install (FILES ${cppcheck_runtimes} DESTINATION ${SKBUILD_PROJECT_NAME} /Cppcheck )
35
36
install (DIRECTORY ${VCPKG_INSTALLED_DIR} /${VCPKG_TARGET_TRIPLET}/share/Cppcheck
36
37
DESTINATION ${SKBUILD_PROJECT_NAME} )
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ endif()
24
24
25
25
vcpkg_check_features (
26
26
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
27
- FEATURES
27
+ INVERTED_FEATURES
28
28
have_rules HAVE_RULES
29
29
)
30
30
Original file line number Diff line number Diff line change 16
16
],
17
17
"features" : {
18
18
"have-rules" : {
19
- "description" : " Dependencies for testing" ,
20
- "supports" : " !windows | !osx"
19
+ "description" : " To compile with rules" ,
20
+ "dependencies" : [
21
+ " pcre"
22
+ ]
21
23
}
22
24
}
23
25
}
You can’t perform that action at this time.
0 commit comments