Skip to content

Commit

Permalink
test_randomized_sampling.cpp: fixing setting environment variable in …
Browse files Browse the repository at this point in the history
…Ctest
  • Loading branch information
vlkale committed Mar 20, 2024
1 parent 64c6a58 commit 486ba9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function(kp_add_executable_and_test)
TEST ${kaeat_args_TARGET_NAME}
APPEND
PROPERTY
ENVIRONMENT "KOKKOS_TOOLS_SAMPLER_VERBOSE=$<TARGET_FILE:${kaeat_args_KOKKOS_TOOLS_SAMPLER_VERBOSE}>"
ENVIRONMENT "KOKKOS_TOOLS_SAMPLER_VERBOSE=${kaeat_args_KOKKOS_TOOLS_SAMPLER_VERBOSE}"
)
endif()

Expand All @@ -63,7 +63,7 @@ function(kp_add_executable_and_test)
TEST ${kaeat_args_TARGET_NAME}
APPEND
PROPERTY
ENVIRONMENT "KOKKOS_TOOLS_GLOBALFENCES=$<TARGET_FILE:${kaeat_args_KOKKOS_TOOLS_GLOBALFENCES}>"
ENVIRONMENT "KOKKOS_TOOLS_GLOBALFENCES=${kaeat_args_KOKKOS_TOOLS_GLOBALFENCES}"
)
endif()

Expand Down

0 comments on commit 486ba9e

Please sign in to comment.