Open sss123next opened 2 years ago
it seems hack used for macos are also applicable here (i mean do not link statically)
Do you know to differentiate between FreeBSD
and Linux
using CMake
?
i.e. I can use this code:
EXEC_PROGRAM(uname OUTPUT_VARIABLE SYSTEM_NAME)
SET(SYSTEM_NAME "${SYSTEM_NAME}" CACHE INTERNAL "")
IF(SYSTEM_NAME STREQUAL "Linux")
..
ENDIF()
IF(SYSTEM_NAME STREQUAL "FreeBSD")
..
ENDIF()
A bit ugly, but it will do the trick
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs (within 5 days). Thank you for your contributions.
current master ( b22aa39d671df064e44b96976ea32b40f4353c7f ) failing to compile on freebsd