Skip to content

Commit

Permalink
Remove unneeded unistd.h check from CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
mmp committed Jan 13, 2018
1 parent 798a630 commit 001f119
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,6 @@ IF ( HAVE_MEMORY_H )
ADD_DEFINITIONS ( -D PBRT_HAVE_MEMORY_H )
ENDIF ()

CHECK_INCLUDE_FILES ( unistd.h HAVE_UNISTD_H )
IF ( NOT HAVE_UNISTD_H )
ADD_DEFINITIONS ( -D YY_NO_UNISTD_H )
ENDIF ()

###########################################################################
# Check for various C++11 features and set preprocessor variables or
# define workarounds.
Expand Down

0 comments on commit 001f119

Please sign in to comment.