Исправлен поиск clang-apply-replacements
This commit is contained in:
parent
cdfe022922
commit
ee00e43d25
@ -1,5 +1,5 @@
|
|||||||
cmake_minimum_required(VERSION 3.0)
|
cmake_minimum_required(VERSION 3.0)
|
||||||
project(myx-cmake VERSION 0.3.3 LANGUAGES)
|
project(myx-cmake VERSION 0.3.4 LANGUAGES)
|
||||||
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
file(WRITE ${CMAKE_SOURCE_DIR}/MyxCMake/MyxCMakeConfigVersion.cmake
|
file(WRITE ${CMAKE_SOURCE_DIR}/MyxCMake/MyxCMakeConfigVersion.cmake
|
||||||
|
@ -2,7 +2,7 @@ find_program(CLAZY_EXE NAMES clazy-standalone)
|
|||||||
|
|
||||||
set(CLANG_APPLY_REPLACEMENTS_NAMES clang-apply-replacements)
|
set(CLANG_APPLY_REPLACEMENTS_NAMES clang-apply-replacements)
|
||||||
foreach(V RANGE 9 15)
|
foreach(V RANGE 9 15)
|
||||||
list(INSERT CLANG_APPLY_REPLACEMENTS 0 "clang-apply-replacements-${V}")
|
list(INSERT CLANG_APPLY_REPLACEMENTS_NAMES 0 "clang-apply-replacements-${V}")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
find_program(CLANG_APPLY_REPLACEMENTS_EXE NAMES ${CLANG_APPLY_REPLACEMENTS_NAMES})
|
find_program(CLANG_APPLY_REPLACEMENTS_EXE NAMES ${CLANG_APPLY_REPLACEMENTS_NAMES})
|
||||||
|
Loading…
Reference in New Issue
Block a user