Skip to content

Commit

Permalink
don't build on 32-bit windows
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkowl committed Jan 5, 2023
1 parent fe0b1fc commit 3327ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ endif()
# Automatically detect architecture based on Visual Studio generator
if(MSVC AND NOT DEFINED DFHACK_BUILD_ARCH)
if ((${CMAKE_GENERATOR} MATCHES "Win32") OR (${CMAKE_GENERATOR} MATCHES "x86"))
set(DFHACK_BUILD_ARCH "32")
message(SEND_ERROR "DF v50 does not support 32-bit")
else()
set(DFHACK_BUILD_ARCH "64")
endif()
Expand Down

0 comments on commit 3327ba1

Please sign in to comment.