Skip to content

Commit

Permalink
Revert "cmake: Set ENVIRONMENT property for examples on Windows"
Browse files Browse the repository at this point in the history
This reverts commit 116d2ab.
  • Loading branch information
hebasto committed Sep 18, 2024
1 parent 26e4a7c commit c232486
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@ function(add_example name)
)
set(test_name ${name}_example)
add_test(NAME ${test_name} COMMAND ${target_name})
if(BUILD_SHARED_LIBS AND MSVC)
# The DLL must reside either in the same folder where the executable is
# or somewhere in PATH. Using the latter option.
set_tests_properties(${test_name} PROPERTIES
ENVIRONMENT "PATH=$<TARGET_FILE_DIR:secp256k1>;$ENV{PATH}"
)
endif()
endfunction()

add_example(ecdsa)
Expand Down

0 comments on commit c232486

Please sign in to comment.