Skip to content

Commit

Permalink
fix cygwin check logic
Browse files Browse the repository at this point in the history
  • Loading branch information
RussTedrake committed Jun 23, 2015
1 parent 056efa8 commit d07ff33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

BUILD_SYSTEM:=$(OS)
ifeq ($(BUILD_SYSTEM),Windows_NT)
ifneq ($(CYGWIN),)# check if it's cygwin
BUILD_SYSTEM:=Cygwin
endif
BUILD_SYSTEM:=$(shell uname -o 2> NULL || echo Windows_NT) # set to Cygwin if appropriate
else
BUILD_SYSTEM:=$(shell uname -s)
endif
Expand Down
2 changes: 1 addition & 1 deletion cmake
Submodule cmake updated 1 files
+3 −3 pods.cmake

0 comments on commit d07ff33

Please sign in to comment.