Open yurivict opened 6 years ago
Well depends on what you define with "wrong". I guess CMAKE_SYSTEM_NAME is FreeBSD on your system, while we only support Linux. So maybe you can fix it by extending all comparison of CMAKE_SYSTEM_NAME with Linux with an OR ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" Unfortunately I don't have a FreeBSD system available so I can not test it myself
You are right. For compatibility with BSDs, you need to change them all to ${CMAKE_SYSTEM_NAME} MATCHES "Linux|.*BSD"
.
Besides this, it failed because -fPIC
was missing. It succeeded after I added -fPIC
.
Both 1.0 and current revisions fail:
I'm pretty sure something's wrong with your cmake makefiles.
On FreeBSD.