Is kde_config_version empty? Maybe it needs double quotes around it if it is... (Or maybe it shouldn't be empty...?)<br><br><br><div class="gmail_quote">On Tue, Feb 3, 2009 at 8:05 AM, Alexander Thomas <span dir="ltr"><<a href="mailto:alexander.thomas@esat.kuleuven.be">alexander.thomas@esat.kuleuven.be</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Bill Hoffman wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Alexander Thomas wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a project which uses Qt3, with a CMakeLists.txt containing these lines:<br>
<br>
find_package(Qt3 REQUIRED) # find and setup Qt3 for this project<br>
find_package(KDE3 REQUIRED) # for kde3_automoc<br>
add_definitions(${QT_DEFINITIONS} ${KDE3_DEFINITIONS})<br>
<br>
This has worked fine for years, but when I now try to do a 'configure' in ccmake, I get this error:<br>
<br>
CMake Error at /usr/share/cmake/Modules/FindKDE3.cmake:109 (STRING):<br>
string sub-command REGEX, mode MATCH needs at least 5 arguments total to command.<br>
Call Stack (most recent call first):<br>
CMakeLists.txt:10 (find_package)<br>
<br>
<br>
That specific line in that file looks like this:<br>
STRING(REGEX MATCH "KDE: .\\." kde_version ${kde_config_version})<br>
<br>
This is on Fedora 10, and there has been a system update last night. It is possible that something went wrong during that update, because the machine crashed when I tried to log in.<br>
What could be the cause of that error, and how can it be fixed?<br>
<br>
</blockquote>
What version of cmake is this?<br>
</blockquote>
<br></div>
cmake version 2.6-patch 2<div class="Ih2E3d"><br>
<br>
Alexander<br>
<br>
Disclaimer: <a href="http://www.kuleuven.be/cwis/email_disclaimer.htm" target="_blank">http://www.kuleuven.be/cwis/email_disclaimer.htm</a><br>
<br>
_______________________________________________<br></div><div><div></div><div class="Wj3C7c">
CMake mailing list<br>
<a href="mailto:CMake@cmake.org" target="_blank">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br>