mirror of
https://github.com/visualboyadvance-m/visualboyadvance-m
synced 2025-10-05 15:42:52 +02:00
Remove two debug messages and add a missing paren to the cmake source. Signed-off-by: Rafael Kitover <rkitover@gmail.com>
14 lines
333 B
CMake
14 lines
333 B
CMake
# Remove StrawberryPerl from the PATH environment variable due to various build
|
|
# pollution.
|
|
unset(new_path)
|
|
|
|
foreach(p $ENV{PATH})
|
|
if(NOT p MATCHES "(^|\\\\)[Ss]trawberry\\\\([Pp]erl|[Cc])\\\\(.*\\\\)?[Bb]in$")
|
|
list(APPEND new_path ${p})
|
|
endif()
|
|
endforeach()
|
|
|
|
set(ENV{PATH} "${new_path}")
|
|
|
|
# vim:sw=4 et sts=4 ts=8:
|