Skip to content

Commit

Permalink
Merge pull request #1235 from borglab/wrap/update
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal authored Jul 5, 2022
2 parents 33c9a34 + 9904506 commit af04094
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions wrap/cmake/MatlabWrap.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,13 @@ function(wrap_library_internal interfaceHeader moduleName linkLibraries extraInc
find_package(PythonInterp ${WRAP_PYTHON_VERSION} EXACT)
find_package(PythonLibs ${WRAP_PYTHON_VERSION} EXACT)

# Set the path separator for PYTHONPATH
if(UNIX)
set(GTWRAP_PATH_SEPARATOR ":")
else()
set(GTWRAP_PATH_SEPARATOR ";")
endif()

add_custom_command(
OUTPUT ${generated_cpp_file}
DEPENDS ${interfaceHeader} ${module_library_target} ${otherLibraryTargets}
Expand Down

0 comments on commit af04094

Please sign in to comment.