Skip to content

Commit c232486

Browse files
committed
Revert "cmake: Set ENVIRONMENT property for examples on Windows"
This reverts commit 116d2ab.
1 parent 26e4a7c commit c232486

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

examples/CMakeLists.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@ function(add_example name)
1010
)
1111
set(test_name ${name}_example)
1212
add_test(NAME ${test_name} COMMAND ${target_name})
13-
if(BUILD_SHARED_LIBS AND MSVC)
14-
# The DLL must reside either in the same folder where the executable is
15-
# or somewhere in PATH. Using the latter option.
16-
set_tests_properties(${test_name} PROPERTIES
17-
ENVIRONMENT "PATH=$<TARGET_FILE_DIR:secp256k1>;$ENV{PATH}"
18-
)
19-
endif()
2013
endfunction()
2114

2215
add_example(ecdsa)

0 commit comments

Comments
 (0)