Revert "Added check to rescan zlib and pthread on linux"

This reverts commit 36b9ee5cf4.

Ref #992, #982
develop
lethosor 2016-09-15 01:52:54 -04:00
parent 1029e0f02a
commit 38cd830abf
1 changed files with 0 additions and 8 deletions

@ -274,14 +274,6 @@ endif()
#### expose depends ####
# check for change in arch (32<->64)
if(UNIX)
GET_PROPERTY(DFHACK_CACHED_ARCH CACHE STRING PROPERTY DFHACK_BUILD_ARCH)
if(NOT "${DFHACK_BUILD_ARCH}" STREQUAL "${DFHACK_CACHED_ARCH}")
unset(ZLIB_LIBRARY CACHE)
unset(CMAKE_HAVE_PTHREAD_H CACHE)
endif()
endif()
# find and make available libz
if(NOT UNIX) # Windows