Skip to content

Commit

Permalink
stub: try to avoid have ; replace by list separator (4rd try)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisv committed Nov 22, 2023
1 parent 01ac555 commit bb5b59f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function(GENERATE_STUBS module_path module_name module_install_dir)
endforeach()
string(REPLACE ";" "@" _path_cmake $ENV{PATH})
set(_path_cmake "${_target_path}${_path_cmake}")
string(REPLACE "@" "\;" _path_str ${_path_cmake})
string(REPLACE "@" "\\\;" _path_str ${_path_cmake})
set(ENV_PATH "PATH=${_path_str}")
endif()

Expand Down

0 comments on commit bb5b59f

Please sign in to comment.