2012/2/29 Massaro Alessio <alessio.mass...@mediobanca.co.uk>: > Hi there, > > > > Awkward behaviour: > > > > My CMakeLists.txt do a find_package(Subversion) > > > > Now, I have a Jenkins build server running under domain user XYZ > > The Jenkins CMake plugin tells me it’s trying to do the following: > > > > “c:\Program Files\CMake 2.8\bin\cmake.exe” -G "Visual Studio 9 > 2008" > > -DCMAKE_BUILD_TYPE=Release > "D:\path\to\where\jenkins\puts\mysource" > > > > And fails with > > > > -- Could NOT find Subversion (missing: Subversion_SVN_EXECUTABLE) > > > > But if I logon to that very same server with that very same domain user, > check-out the code from svn elsewhere on the server disk and run the above > command (adjusting for the different path to the source), then the > find_package will work just fine.
> Does anyone have a clue on what the problem might be? > What might be causing the difference in behaviour? May be the path is set to a different value in the "Jenkins context". You could try to make your CMakeLists.txt display the content of the PATH variable with something like; MESSAGE("PATH=$ENV{PATH}") that way you'll see if something is different -- Erk Le gouvernement représentatif n'est pas la démocratie -- http://www.le-message.org -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake