>>> I'm pretty sure LINK_DIRECTORIES should not be used in toolchain
>>> if not use at all.
>>>
>>> The purpose of find_package is precisely to find the full path to libraries
>>> thus not to need to use "LINK_DIRECTORIES".
>>
>> You are right. It seems that removing LINK_DIRECTORIES does the trick
>> I'm pretty sure LINK_DIRECTORIES should not be used in toolchain
>> if not use at all.
>>
>> The purpose of find_package is precisely to find the full path to libraries
>> thus not to need to use "LINK_DIRECTORIES".
>
> You are right. It seems that removing LINK_DIRECTORIES does the trick!
Oops
Hi Vyacheslav,
Salut Eric,
Many thanks for your answers.
>> I thought that adding a LINK_DIRECTORIES to the toolchain would do the
>> trick, but no avail.
>
> I'm pretty sure LINK_DIRECTORIES should not be used in toolchain
> if not use at all.
>
> The purpose of find_package is precisely to find
2012/11/19 Boards Killer :
> Hi CMake Community !
>
> I am writing a CMake toolchain to cross compile our CMake project with the
> Ubuntu ARM Linux toolchain. The CMake toolchain is given below.
>
> I am facing the following problem. When using:
> FIND_PACKAGE(OpenSSL)
>
> The libraries (lssl, lcry
Hi, try setting
packagename_DIR before FIND_PACKAGE()
19.11.2012 14:41, Boards Killer ?:
Hi CMake Community !
I am writing a CMake toolchain to cross compile our CMake project with
the Ubuntu ARM Linux toolchain. The CMake toolchain is given below.
I am facing the following problem. Whe