mirror of
https://github.com/visualboyadvance-m/visualboyadvance-m
synced 2025-10-05 23:52:49 +02:00
build: fix syntax and rm dbg prints from 2a65e92d
Remove two debug messages and add a missing paren to the cmake source. Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
@@ -2,16 +2,12 @@
|
||||
# pollution.
|
||||
unset(new_path)
|
||||
|
||||
message("BEFORE: $ENV{PATH}")
|
||||
|
||||
foreach(p $ENV{PATH})
|
||||
if(NOT p MATCHES "(^|\\\\)[Ss]trawberry\\\\([Pp]erl|[Cc])\\\\(.*\\\\)?[Bb]in$")
|
||||
list(APPEND new_path ${p})
|
||||
endif()
|
||||
endforeach(
|
||||
endforeach()
|
||||
|
||||
set(ENV{PATH} "${new_path}")
|
||||
|
||||
message("AFTER: $ENV{PATH}")
|
||||
|
||||
# vim:sw=4 et sts=4 ts=8:
|
||||
|
Reference in New Issue
Block a user