Skip to content

Commit

Permalink
Correct add_launch_test macro in windows debug
Browse files Browse the repository at this point in the history
Signed-off-by: ivanpauno <ivanpauno@ekumenlabs.com>
  • Loading branch information
ivanpauno committed May 16, 2019
1 parent b195a90 commit 5102f42
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions launch_testing_ament_cmake/cmake/add_launch_test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ function(add_launch_test file)

if(NOT _add_launch_test_PYTHON_EXECUTABLE)
set(_add_launch_test_PYTHON_EXECUTABLE "${PYTHON_EXECUTABLE}")
if(WIN32)
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
set(_add_launch_test_PYTHON_EXECUTABLE "${PYTHON_EXECUTABLE_DEBUG}")
endif()
endif()
endif()

set(_file_name _file_name-NOTFOUND)
Expand Down

0 comments on commit 5102f42

Please sign in to comment.