Skip to content

Commit

Permalink
Fix boost linking issue
Browse files Browse the repository at this point in the history
Otherwise:
`Target "aby" links to target "Boost::system" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?`
and 
`CMake Error at src/abycore/CMakeLists.txt:1 (add_library):
  Target "aby" links to target "Boost::system" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?`
when building ABY as external dependency
  • Loading branch information
fboemer authored Apr 8, 2019
1 parent f52fef8 commit 574635a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ endif()

find_package(GMP REQUIRED)
find_package(Threads REQUIRED)
find_package(Boost 1.66.0 REQUIRED)
find_package(Boost 1.66.0 REQUIRED COMPONENTS thread system)

add_subdirectory(src/abycore)

Expand Down

0 comments on commit 574635a

Please sign in to comment.