fix libbsd linking

This commit is contained in:
Evan Burkey 2022-12-02 08:04:51 -08:00
parent 82acf068a5
commit ec54b82338
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ set(SOURCES
)
add_library(flint ${SOURCES})
if (NOT (${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD") AND NOT (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD"))
if ((${CMAKE_SYSTEM_NAME} STREQUAL "Linux"))
target_link_libraries(flint bsd)
endif()