Skip to content

Commit

Permalink
FindSleef: Link sleef into sleefdft
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Nov 13, 2023
1 parent 4b4ce35 commit ce9572c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/modules/FindSleef.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ if(Sleef_FOUND)

is_static_library(SleefDFT_IS_STATIC Sleef::sleefdft)
if(SleefDFT_IS_STATIC)
set_property(TARGET Sleef::sleefdft APPEND PROPERTY INTERFACE_LINK_LIBRARIES
Sleef::sleef
)

find_package(OpenMP)
if(OpenMP_CXX_FOUND)
set_property(TARGET Sleef::sleefdft APPEND PROPERTY INTERFACE_LINK_LIBRARIES
Expand Down

0 comments on commit ce9572c

Please sign in to comment.