Skip to content
Permalink
Browse files

CMake: on Windows, make sure we search for patch.exe in PATH env var …

…as well.
  • Loading branch information...
franz committed Feb 3, 2015
1 parent 7d67673 commit 4539da27d36d421f46fccf3cd13d417d5868461b
Showing with 4 additions and 1 deletion.
  1. +3 −0 CMakeLists.txt
  2. +1 −1 windows/setup_and_build_win64.sh
@@ -141,14 +141,17 @@ message(STATUS "Hwloc_CFLAGS ${Hwloc_CFLAGS}")

find_program (PATCH_EXEC
NAMES patch patch.exe
HINTS ENV PATH
)

find_program (XARGS_EXEC
NAMES xargs xargs.exe
HINTS ENV PATH
)

find_program (CAT_EXEC
NAMES cat cat.exe
HINTS ENV PATH
)

if (!PATCH_EXEC)
@@ -1,7 +1,7 @@
#/bin/bash

# This script requires following software preinstalled:
# * Git + git bash (default installer settings are fine)
# * Git + git bash (default installer settings are fine, make sure its in your PATH)
# * Python 2.7
# * Cmake 2.8 or later (make sure it will be added to PATH during installation)
# * Visual Studio Community edition 2013

0 comments on commit 4539da2

Please sign in to comment.
You can’t perform that action at this time.