Skip to content

Commit

Permalink
Added @lethosor 's change
Browse files Browse the repository at this point in the history
  • Loading branch information
dseguin committed Sep 8, 2016
1 parent 36b9ee5 commit 860e584
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,7 @@ endif()
# check for change in arch (32<->64)
if(UNIX)
GET_PROPERTY(DFHACK_CACHED_ARCH CACHE STRING PROPERTY DFHACK_BUILD_ARCH)
if("${DFHACK_BUILD_ARCH}" STREQUAL "${DFHACK_CACHED_ARCH}")
# no change
else()
if(NOT "${DFHACK_BUILD_ARCH}" STREQUAL "${DFHACK_CACHED_ARCH}")
unset(ZLIB_LIBRARY CACHE)
unset(CMAKE_HAVE_PTHREAD_H CACHE)
endif()
Expand Down

0 comments on commit 860e584

Please sign in to comment.