Re: [CMake] Re-2: .so libraries and Xcode

2014-03-03 Thread Michael Jackson
That part may not be correct. it should be target_link_libraries(myexe somelib) CMake will look for variations of the name for the library. I think. At least I have never had to put a full path like at and I use .plugin for my libraries in my project and they work fine on OS X with Xcode. You

[CMake] Re-2: .so libraries and Xcode

2014-03-03 Thread Bjoern Sarrazin
Hi, no, I haven't. I assume the ".dylib" extension on Mac is pure convention, isn't it? And this convention is not used for instance by ROOT libraries installed via macports (https://trac.macports.org/browser/trunk/dports/science/root/Portfile). This is not a problem for cma