> On 17 Jan 2019, at 04:57, Jan Wielemaker wrote:
>
> I got very far using
>
>set(CMAKE_C_FLAGS -m32)
Maybe not going to solve your main issue but worth changing anyway to:
set(CMAKE_C_FLAGS "-m32 ${CMAKE_C_FLAGS}")
With your previous and simpler code, passing any cmake
I'll answer myself. As the answer is a little contra intuitive, I'll
post it :)
After copying FindPkgConfig.cmake locally and adding a lot of message()
to it, I discovered a couple of things:
- As FindPkgConfig claims, CMAKE_PREFIX_PATH, etc are added to the
search if
Hi,
I'm trying to build a complicated package for 32-bits on 64-bit Ubuntu.
I got very far using
set(CMAKE_C_FLAGS -m32)
set(CMAKE_LIBRARY_ARCHITECTURE i386-linux-gnu)
But right now, find_package(OpenSSL) is failing. I think the problem is
with FindOpenSSL.cmake doing this (Ubuntu