Let's see if this fixes CMake once again

This commit is contained in:
Paolo Giannozzi 2021-02-18 19:52:39 +00:00
parent d030b4a7a9
commit c26fbbbf48
1 changed files with 7 additions and 5 deletions

View File

@ -52,14 +52,16 @@ qe_enable_cuda_fortran("${src_upflib}")
qe_add_library(qe_upflib ${src_upflib})
target_link_libraries(qe_upflib
PRIVATE
qe_devxlib
qe_mpi_fortran
qe_lapack
qe_utilx)
if(QE_ENABLE_CUDA)
target_link_libraries(qe_upflib
PRIVATE
qe_devxlib)
endif()
# should the devxlib dependency be permanent or cuda-only?
#if(QE_ENABLE_CUDA)
# target_link_libraries(qe_upflib
# PRIVATE
# qe_devxlib)
#endif()
##############################################################
# virtual_v2.x