File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -256,6 +256,11 @@ if(BUILD_TESTING)
256
256
set (ENV_PATH "$ENV{PATH} " )
257
257
file (TO_CMAKE_PATH "${ENV_PATH} " ENV_PATH)
258
258
set (TEST_PATH "${ENV_PATH} " )
259
+ set (append_library_dirs "${CMAKE_CURRENT_BINARY_DIR} " )
260
+ if (WIN32 )
261
+ set (append_library_dirs "${append_library_dirs} /$<CONFIG>" )
262
+ endif ()
263
+
259
264
if (rmw_implementation STREQUAL "rmw_connext_cpp" )
260
265
# Connext 5.3.1 needs RTI's OpenSSL binaries (based on EOL 1.0.2) to be
261
266
# on the PATH at runtime as the system version of OpenSSL is not supported
@@ -315,11 +320,6 @@ if(BUILD_TESTING)
315
320
custom_executable(test_secure_subscriber_cpp
316
321
"test/test_secure_subscriber.cpp" )
317
322
318
- set (append_library_dirs "${CMAKE_CURRENT_BINARY_DIR} " )
319
- if (WIN32 )
320
- set (append_library_dirs "${append_library_dirs} /$<CONFIG>" )
321
- endif ()
322
-
323
323
# finding gtest once in the highest scope
324
324
# prevents finding it repeatedly in each local scope
325
325
ament_find_gtest()
You can’t perform that action at this time.
0 commit comments