Skip to content

Commit

Permalink
Link against thread library
Browse files Browse the repository at this point in the history
  • Loading branch information
daljit46 committed Aug 28, 2023
1 parent 10dca46 commit 8c066b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ find_package(FFTW REQUIRED)
find_package(Git QUIET)
find_package(PNG QUIET)
find_package(TIFF QUIET)
find_package(Threads REQUIRED)

add_library(mrtrix-core SHARED ${CORE_SRCS})
add_library(mrtrix::core ALIAS mrtrix-core)
Expand Down Expand Up @@ -62,6 +63,7 @@ target_link_libraries(mrtrix-core PUBLIC
Eigen3::Eigen
ZLIB::ZLIB
mrtrix::core-version-lib
Threads::Threads
${FFTW_LIBRARIES}
)

Expand Down

0 comments on commit 8c066b5

Please sign in to comment.