From c232486d84e21ece78b6cc956cd233cdf1bf8eee Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Wed, 26 Jun 2024 00:44:02 +0100 Subject: [PATCH] Revert "cmake: Set `ENVIRONMENT` property for examples on Windows" This reverts commit 116d2ab3df630455f23a7b21f50237689879ecc0. --- examples/CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index fd1ebce395..a7a5adbf35 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -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=$;$ENV{PATH}" - ) - endif() endfunction() add_example(ecdsa)