Fix 32bit depends builds

Add architecture flags when cmake invokes gcc manually.
Add 32bit to Travis.
This commit is contained in:
TheCharlatan 2018-09-26 00:36:34 +02:00
parent a5476f82ca
commit 2fbf38ee91
5 changed files with 19 additions and 3 deletions

View file

@ -78,5 +78,9 @@ elseif(ARCHITECTURE STREQUAL "aarch64")
set(BUILD_64 ON)
endif()
if(ARCHITECTURE STREQUAL "i686" AND CMAKE_SYSTEM_NAME STREQUAL "Linux")
SET(LINUX_32 ON)
endif()
#Create a new global cmake flag that indicates building with depends
set (DEPENDS true)