diff --git a/Modules/Wrappers/SWIG/test/python/CMakeLists.txt b/Modules/Wrappers/SWIG/test/python/CMakeLists.txt index bc43f7b510ef01c24baf6cf9452f0fe4f60f08b0..cccb417238a2ac73b93cbca5eeb73e4ea6d495db 100644 --- a/Modules/Wrappers/SWIG/test/python/CMakeLists.txt +++ b/Modules/Wrappers/SWIG/test/python/CMakeLists.txt @@ -7,6 +7,7 @@ if(WIN32) # on windows, loading the module _otbApplication requires the otbossimplugins*.dll # which is in the 'bin/' folder set(TEST_DRIVER ${TEST_DRIVER} + --add-before-env PATH ${CMAKE_BINARY_DIR}/bin --add-before-env PATH $) endif(WIN32)