Unverified Commit 9ea6dc19 authored by Simone Angeloni's avatar Simone Angeloni Committed by GitHub

Linker error on Raspberry Pi 4 Model B (#764)

parent 192bbc42
......@@ -68,6 +68,7 @@ if (PISTACHE_USE_SSL)
link_libraries(-lssl -lcrypto)
endif (PISTACHE_USE_SSL)
link_libraries(-latomic)
include_directories (${CMAKE_CURRENT_SOURCE_DIR}/include)
# Set version...
......@@ -113,7 +114,7 @@ include_directories (${CMAKE_CURRENT_SOURCE_DIR}/include)
# Set libraries...
# Minimum...
set(LIBS "-lpistache -lpthread")
set(LIBS "-lpistache -lpthread -latomic")
# If building with OpenSSL support...
if(PISTACHE_USE_SSL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment