[CMake] Removing RPATH from existing binaries

2019-01-05 Thread Federico Milano
Hi. When packaging my application, I'm using install (FILES...) to copy
some third party executables to my binary folder.

1. I do not know if I'm doing it right or if I should use install
(PROGRAMS...)
2. Some of the binaries have a RPATH, and I want to remove it. Is there any
CMake macro/function to do that, or should I call directly chrpath?

Thanks in advance,

Federico
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake


[CMake] CMake hangs on Found Git

2015-10-26 Thread Federico Milano
Hi. I've been using CMake for a while, and this is the first time I've
found a problem I really cannot solve.

I'm running cmake-gui on Windows 7, to build an MITK derived project. If
Git is installed on the computer, the first time I run a Git "Configure",
it hangs indefinitely in the line:

Found Git: C:/Program Files/Git/cmd/git.exe

I've tried turning off my AV (Bitdefender), but the only way I have made it
work is by uninstalling Git.

I've tried with CMake 2.8.12 and 3.3.2 and the way it fails with both
versions is the same. I've tried with Git 2.5.2 and 2.6.2 and it hangs the
same way.

Do you know what command is run when it is printing the line "Found
Git:..."?

I would really appreciate any hint.

Thanks in advance,

Federico
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake