|
|
@ -277,9 +277,7 @@ endif()
|
|
|
|
# check for change in arch (32<->64)
|
|
|
|
# check for change in arch (32<->64)
|
|
|
|
if(UNIX)
|
|
|
|
if(UNIX)
|
|
|
|
GET_PROPERTY(DFHACK_CACHED_ARCH CACHE STRING PROPERTY DFHACK_BUILD_ARCH)
|
|
|
|
GET_PROPERTY(DFHACK_CACHED_ARCH CACHE STRING PROPERTY DFHACK_BUILD_ARCH)
|
|
|
|
if("${DFHACK_BUILD_ARCH}" STREQUAL "${DFHACK_CACHED_ARCH}")
|
|
|
|
if(NOT "${DFHACK_BUILD_ARCH}" STREQUAL "${DFHACK_CACHED_ARCH}")
|
|
|
|
# no change
|
|
|
|
|
|
|
|
else()
|
|
|
|
|
|
|
|
unset(ZLIB_LIBRARY CACHE)
|
|
|
|
unset(ZLIB_LIBRARY CACHE)
|
|
|
|
unset(CMAKE_HAVE_PTHREAD_H CACHE)
|
|
|
|
unset(CMAKE_HAVE_PTHREAD_H CACHE)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|