Skip to content

Commit

Permalink
test linking
Browse files Browse the repository at this point in the history
  • Loading branch information
yhmtsai committed May 29, 2024
1 parent 1995ba1 commit 70159ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/create_test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ function(ginkgo_set_test_target_properties test_target_name test_library_suffix)
set_target_properties(${test_target_name} PROPERTIES CUDA_STANDARD 14)
target_include_directories(${test_target_name} PRIVATE ${Ginkgo_BINARY_DIR} ${set_properties_ADDITIONAL_INCLUDES})
target_link_libraries(${test_target_name} PRIVATE ginkgo GTest::GTest ${set_properties_ADDITIONAL_LIBRARIES})
if(MSVC AND BUILD_SHARED_LIBS)
target_link_libraries(${test_target_name} PRIVATE ginkgo_config)
endif()
endfunction()

function(ginkgo_add_resource_requirement test_name)
Expand Down

0 comments on commit 70159ef

Please sign in to comment.