Skip to content

Commit

Permalink
Using CMAKE_GENERATOR_PLATFORM variable to catch 64-bit build with Ul…
Browse files Browse the repository at this point in the history
…terius
  • Loading branch information
dzhoshkun committed Apr 8, 2019
1 parent 8a8b5ce commit 8b344d1
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 @@ -24,7 +24,7 @@ set(${FILE_SUFFIX} "")

# Activate source code based on user options
if(${USE_ULTERIUS})
if(${CMAKE_GENERATOR} MATCHES "Win64")
if(${CMAKE_GENERATOR_PLATFORM} MATCHES "Win64")
message(FATAL_ERROR "Xono2L Ulterius bindings are supported in 32-bit mode only")
endif()

Expand Down

0 comments on commit 8b344d1

Please sign in to comment.