<div dir="ltr"><div><div><div>Thanks Alex,<br><br></div>It worked! I updated the file to one from version 2.8.10.<br><br></div>Regards<br></div>Rohit<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 14, 2013 at 6:54 PM, Alexander Neundorf-3 [via CMake] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=7583722&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
        On Thursday 14 March 2013, newuserhere wrote:
<div><div class='shrinkable-quote'><br>> Hi,
<br>> I am getting an error in CMAKE configuration after it was updated to 2.8.7.
<br>> The line to which error is pointed :
<br>> /find_package(PythonInterp)/
<br>>
<br>> Well the error is as follows :
<br>>
<br>> /CMake Warning (dev) at
<br>> /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:86
<br>> (INCLUDE):
<br>> File /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake
<br>> includes
<br>> cmake/modules/CMakeParseArguments.cmake (found
<br>> via CMAKE_MODULE_PATH) which shadows
<br>> /usr/share/cmake-2.8/Modules/CMakeParseArguments.cmake. This may cause
<br>> errors later on .
<br>>
<br>> Policy CMP0017 is not set: Prefer files from the CMake module directory
<br>> when including from there. Run "cmake --help-policy CMP0017" for policy
<br>> details. Use the cmake_policy command to set the policy and suppress
<br>> this warning.
<br>> Call Stack (most recent call first):
<br>> /usr/share/cmake-2.8/Modules/FindPythonInterp.cmake:63 (include)
<br>> sym/CMakeLists.txt:54 (find_package)
<br>> This warning is for project developers. Use -Wno-dev to suppress it.
<br>>
<br>> CMake Error at
<br>> /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:169
<br>> (MESSAGE):
<br>> No REQUIRED_VARS specified for FIND_PACKAGE_HANDLE_STANDARD_ARGS()
<br>> Call Stack (most recent call first):
<br>> /usr/share/cmake-2.8/Modules/FindPythonInterp.cmake:64
<br>> (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
<br>> sym/CMakeLists.txt:54 (find_package)
<br>> /
<br>>
<br>> Could someone help me in finding out how to solve the error.
</div></div>This does not happen anymore in the upcoming 2.8.11 release.
<br><br>The problem is that you have CMAKE_MODULE_PATH set, and
<br>sym/CMakeLists.txt
<br>does a
<br>find_package(PythonInterp)
<br>which uses FindPythonInterp.cmake from cmake, which does
<br>include(FindPackageHandleStandardArgs)
<br>which it finds in cmake, which does
<br>include(CMakeParseArguments)
<br>which it now does not find from cmake, but from within your project, in
<br>cmake/modules/, and which does not have the same features as the
<br>FindPackageHandleStandardArgs.cmake expects.
<br><br>So either use a most current cmake, or don't set CMAKE_MODULE_PATH, or update
<br>the copy of CMakeParseArguments.cmake in your project.
<br><br>Alex
<br><br><br><br></div></div>--
<br><br>Powered by <a href="http://www.kitware.com" target="_blank" rel="nofollow" link="external">www.kitware.com</a>
<br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" link="external" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="nofollow" link="external" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:
<br><a href="http://www.cmake.org/mailman/listinfo/cmake" rel="nofollow" link="external" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
        
        
        
        <br>
        <br>
        <hr color="#cccccc" noshade size="1">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://cmake.3232098.n2.nabble.com/Error-when-upgraded-to-2-8-7-from-2-8-1-tp7583646p7583650.html" target="_blank" rel="nofollow" link="external">http://cmake.3232098.n2.nabble.com/Error-when-upgraded-to-2-8-7-from-2-8-1-tp7583646p7583650.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Error when upgraded to 2.8.7 from 2.8.1, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://cmake.3232098.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></blockquote></div><br></div>
        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://cmake.3232098.n2.nabble.com/Error-when-upgraded-to-2-8-7-from-2-8-1-tp7583646p7583722.html">Re: Error when upgraded to 2.8.7 from 2.8.1</a><br/>
Sent from the <a href="http://cmake.3232098.n2.nabble.com/">CMake mailing list archive</a> at Nabble.com.<br/>