File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ target_link_libraries(pcms_transfer PUBLIC
4848
4949target_link_libraries (pcms_transfer PUBLIC meshfields::meshfields )
5050
51- target_link_libraries (pcms_transfer PUBLIC PkgConfig::PETSC )
51+ target_link_libraries (pcms_transfer PRIVATE PkgConfig::PETSC )
5252
5353target_include_directories (pcms_transfer INTERFACE
5454 $<BUILD_INTERFACE :${CMAKE_CURRENT_SOURCE_DIR} >
Original file line number Diff line number Diff line change @@ -415,11 +415,7 @@ if(Catch2_FOUND)
415415 # target_link_libraries(unit_tests PUBLIC meshfields::meshfields)
416416 # endif()
417417
418- # if (PCMS_ENABLE_PETSC)
419- # # TODO, update to pkgconfig target instead
420- # target_include_directories(unit_tests PUBLIC ${PCMS_PETSC_INCLUDES})
421- # target_link_libraries(unit_tests PUBLIC ${PCMS_PETSC_LIBRARIES})
422- #endif()
418+ target_link_libraries (unit_tests PRIVATE PkgConfig::PETSC )
423419
424420 target_link_libraries (unit_tests PUBLIC
425421 Catch2::Catch2
You can’t perform that action at this time.
0 commit comments