fixed linux build when cross-compiling

This commit is contained in:
Jan Šimek 2012-06-19 13:17:18 +02:00
parent 50ad45e334
commit fc8ab3399a

View file

@ -33,7 +33,7 @@ if(WIN32)
PARENT_SCOPE)
elseif(UNIX)
if(CROSS_COMPILE32)
set(CROSS_COMPILE32_FLAGS "CFLAGS=-m32 LDFLAGS=-m32")
set(CROSS_COMPILE32_FLAGS CFLAGS=-m32 LDFLAGS=-m32)
else(CROSS_COMPILE32)
set(CROSS_COMPILE32_FLAGS "")
endif(CROSS_COMPILE32)