Re: [CMake] Unreliable Find*.conf

2015-03-22 Thread Damian Philipp
Hello cmake-experts, Am 18.03.15 um 07:59 schrieb Rolf Eike Beer: Use find_library() to find the library itself. If you really need the library directory (you probably don't) then use get_filename_component() on the library location returned by find_library(). thank you, this helped. I

Re: [CMake] Unreliable Find*.conf

2015-03-22 Thread Damian Philipp
Hello, Am 18.03.15 um 13:28 schrieb Hendrik Sattler: CMAKE_PREFIX_PATH is possibly a list so the above does not always work. IIRC Just use PATH_SUFFIXES bin instead. And use find_ library() instead. I wanted to test this, but for some reason cmake suddenly finds everything without any

Re: [CMake] Unreliable Find*.conf

2015-03-18 Thread Hendrik Sattler
Am 18. März 2015 07:23:12 MEZ, schrieb Damian Philipp damian.phil...@gmx.net: Hello cmake-experts, I am working on a project that uses a third-party library delivered in binary form (TeamSpeak 3 SDK). My project is supposed to build on Win, Linux, and OSX, so I decided to use cmake as a build

Re: [CMake] Unreliable Find*.conf

2015-03-18 Thread Rolf Eike Beer
Am Mittwoch, 18. März 2015, 07:23:12 schrieb Damian Philipp: Hello cmake-experts, I am working on a project that uses a third-party library delivered in binary form (TeamSpeak 3 SDK). My project is supposed to build on Win, Linux, and OSX, so I decided to use cmake as a build tool. I have

[CMake] Unreliable Find*.conf

2015-03-18 Thread Damian Philipp
Hello cmake-experts, I am working on a project that uses a third-party library delivered in binary form (TeamSpeak 3 SDK). My project is supposed to build on Win, Linux, and OSX, so I decided to use cmake as a build tool. I have started work on a Findts3sdk.cmake (find_package() in module mode)