Re: [CMake] Make install permissions advice for ubuntu 14.04 with cmake 2.8

2016-06-06 Thread B00083603 Michael O Brien
Hi Roger, While that got me further down the line, the script failed with Built target opencv_java /bin/sh: 1: cannot create /home/michael.obrien/setups/OpenCV/opencv-2.4.13/build/modules/java/test/.build/ant-RELEASE.properties: Permission denied make[2]: *** [modules/java/test/CMakeFiles/open

[CMake] Patch for working with the NAG Fortran compiler

2016-06-06 Thread Arjen Markus
Hello, I have been using the NAG Fortran compiler under Windows for the PLplot project (http://plplot.sf.net) and I found that I needed a small patch to have shared libraries (DLLs) built with it. I added a file "Windows-NAG-Fortran.cmake" to the Modules/Platform directory (CMake 3.4.3) that

Re: [CMake] Make install permissions advice for ubuntu 14.04 with cmake 2.8

2016-06-06 Thread Roger Leigh
On 06/06/2016 16:30, B00083603 Michael O Brien wrote: > Is there a way to set things up so that I can streamline the install across all the vm's and ensure permissions are set correctly on each vm? drwx-- 25 myaccount Domain Users 3072 Jun 5 14:47 /home/myaccount/ A simple "chmod 0755 /ho

Re: [CMake] Make install permissions advice for ubuntu 14.04 with cmake 2.8

2016-06-06 Thread B00083603 Michael O Brien
Hi Roger, Apologies I sent the last msg too early drwxr-xr-x 23 root root 4096 Jun 1 17:28 / drwxr-xr-x 208 root root 12288 May 26 19:39 /home drwx-- 25 michael.obrien Domain Users 3072 Jun 5 14:47 /home/michael.obrien/ drwxr-xr-x 4 michael.obrien Domain Users 1024 Jun 6 17:03 /home/mi

Re: [CMake] Make install permissions advice for ubuntu 14.04 with cmake 2.8

2016-06-06 Thread B00083603 Michael O Brien
drwxr-xr-x 23 root root 4096 Jun 1 17:28 / drwxr-xr-x 208 root root 12288 May 26 19:39 /home drwx-- 25 myaccount Domain Users 3072 Jun 5 14:47 /home/myaccount/ drwxr-xr-x 4 myaccount Domain Users 1024 Jun 6 17:03 /home/myaccount/setups/ drwxr-xr-x 3 michael.obrien Domain Users 1024 Jun 6 1

Re: [CMake] Make install permissions advice for ubuntu 14.04 with cmake 2.8

2016-06-06 Thread B00083603 Michael O Brien
Hi Roger, When I run sudo -s I get bash: /home/myaccount/ : Permission denied but I get a root prompt on the terminal. I get a permission denied when I try to cd into anything deeper than /home/myaccount/ Yes the /home/ is an NFS mount as its common across all the vm's I'm assigned to but th

Re: [CMake] Make install permissions advice for ubuntu 14.04 with cmake 2.8

2016-06-06 Thread rleigh
On 2016-06-06 16:39, B00083603 Michael O Brien wrote: Hi Roger, When I run sudo -s I get bash: /home/myaccount/ : Permission denied but I get a root prompt on the terminal. I get a permission denied when I try to cd into anything deeper than /home/myaccount/ Yes the /home/ is an NFS mount as i

Re: [CMake] Problem building CMake with system OPENSSL

2016-06-06 Thread Lowekamp, Bradley (NIH/NLM/LHC) [C]
Hi, Just to clarify this is a problem building CMake itself not a project with CMake. Brad > On Jun 5, 2016, at 1:49 PM, Kristian wrote: > > Maybe you should add something like > >> include_directories(${OPENSSL_INCLUDE_DIR}) > > to your CMakeLists.txt ? > > 2016-06-03 10:27 GMT-04:00 Lowe

Re: [CMake] FindFreetype.cmake doesn't find debug library freetyped.lib

2016-06-06 Thread Stuart Mentzer
On 6/6/2016 8:22 AM, Rolf Eike Beer wrote: -drop the FREETYPE_NAMES_* variables, just put the names in the find_library calls Done. -please keep the old name for the release variable for backward compatibility. That means that you have to set/unset FREETYPE_LIBRARY_RELEASE around the call to

Re: [CMake] FindFreetype.cmake doesn't find debug library freetyped.lib

2016-06-06 Thread Rolf Eike Beer
-drop the FREETYPE_NAMES_* variables, just put the names in the find_library calls Done. -please keep the old name for the release variable for backward compatibility. That means that you have to set/unset FREETYPE_LIBRARY_RELEASE around the call to SelectLibraryConfigurations Not completely

Re: [CMake] FindFreetype.cmake doesn't find debug library freetyped.lib

2016-06-06 Thread Stuart Mentzer
On 6/6/2016 6:02 AM, Rolf Eike Beer wrote: Stuart Mentzer wrote: On 6/6/2016 4:21 AM, Rolf Eike Beer wrote: You wrote: On 6/5/2016 4:26 AM, Rolf Eike Beer wrote: Am Samstag, 4. Juni 2016, 19:26:22 schrieb Stuart Mentzer: On 6/4/2016 5:03 PM, Roger Leigh wrote: On 04/06/2016 20:47, Stuart Me

Re: [CMake] FindFreetype.cmake doesn't find debug library freetyped.lib

2016-06-06 Thread Rolf Eike Beer
Stuart Mentzer wrote: On 6/6/2016 4:21 AM, Rolf Eike Beer wrote: You wrote: On 6/5/2016 4:26 AM, Rolf Eike Beer wrote: Am Samstag, 4. Juni 2016, 19:26:22 schrieb Stuart Mentzer: On 6/4/2016 5:03 PM, Roger Leigh wrote: On 04/06/2016 20:47, Stuart Mentzer wrote: Hello, FindFreetype.cmake is

Re: [CMake] C header file cross dependency

2016-06-06 Thread Patrick Boettcher
Hi Martin, On Wed, 1 Jun 2016 14:58:53 + Wagner Martin wrote: > > > > Could you provide a working, stripped down example to show the > > problem provided via github (in an example repo). > > > > I've added a simple test project to > > https://github.com/martinwag/test_cmake/tree/maste

[CMake] How to set gcc option "-Wl,-rpath-link," in CMake?make

2016-06-06 Thread Chaos Zhang
Hi, all, i am trying to converting an existed make project into CMake project, and there are some gcc link options i should convert. Not long ago, Mr. Atkins told me 'RPATHs are automatically added by CMake to executables so they can use libraries from the build tree.'. Now i don't know weather "-