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 20, 2023
1 parent de34137 commit 56ae98d
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 56ae98d

Please sign in to comment.