Treat *Config.cmake files as well
This commit is contained in:
parent
7c74c27a25
commit
78276bd589
@ -94,7 +94,7 @@ def main():
|
||||
|
||||
for root, dirs, names in os.walk('.'):
|
||||
for name in names:
|
||||
if name == "CMakeLists.txt" or name.endswith("Config.cmake.in"):
|
||||
if name == "CMakeLists.txt" or name.endswith("Config.cmake.in") or name.endswith("Config.cmake"):
|
||||
path = os.path.join(root, name)
|
||||
print(path)
|
||||
replace_all(path)
|
||||
|
@ -0,0 +1 @@
|
||||
target_link_libraries(backlighthelper Qt5::Core KF5::Auth KF5::I18n)
|
1
tools/kf5-lib-prefix-rename-test/src/BackendConfig.cmake
Normal file
1
tools/kf5-lib-prefix-rename-test/src/BackendConfig.cmake
Normal file
@ -0,0 +1 @@
|
||||
target_link_libraries(backlighthelper Qt5::Core KF5::KAuth KF5::KI18n)
|
@ -5,7 +5,7 @@ rm -rf output
|
||||
cp -r src output
|
||||
cd output
|
||||
echo "# Running"
|
||||
kf5-lib-prefix-rename
|
||||
../../kf5-lib-prefix-rename
|
||||
cd ..
|
||||
echo "# Results"
|
||||
for file in expected/* ; do
|
||||
|
Loading…
Reference in New Issue
Block a user