diff --git a/ppam/CMakeLists.txt b/ppam/CMakeLists.txt index 55a9d38..9c1da8b 100644 --- a/ppam/CMakeLists.txt +++ b/ppam/CMakeLists.txt @@ -298,9 +298,9 @@ if(NOT PPAM_BUILD_SHARED_LIBS) target_include_directories(ppam PUBLIC $> $) - target_link_libraries(ppam PUBLIC ${dpca_psi}) endif() set(PPAM_CARRY_DPCA_PSI FALSE) + target_link_libraries(ppam PUBLIC ${dpca_psi}) if(PPAM_BUILD_EIGEN) add_dependencies(ppam Eigen3::Eigen)