cmake: avoid tautological logic

This commit is contained in:
Ben Boeckel 2017-12-28 17:28:21 -05:00
parent fc3b735300
commit bed3b0cb9d

View File

@ -580,12 +580,8 @@ set(win32_io FALSE)
if(WIN32) if(WIN32)
set(win32_io TRUE) set(win32_io TRUE)
endif() endif()
set(USE_WIN32_FILEIO ${win32_io} CACHE BOOL "Use win32 IO system (Microsoft Windows only)")
if (USE_WIN32_FILEIO) set(USE_WIN32_FILEIO ${win32_io})
set(USE_WIN32_FILEIO TRUE)
else()
set(USE_WIN32_FILEIO FALSE)
endif()
# Orthogonal features # Orthogonal features