Use host compiler to build emugen utility in cross-build environments

This commit is contained in:
Simon Fels 2017-01-25 18:14:09 +01:00
commit a1dce43b50
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,7 @@
if (NOT "${HOST_CMAKE_CXX_COMPILER}" STREQUAL "")
set (CMAKE_CXX_COMPILER "${HOST_CMAKE_CXX_COMPILER}")
endif()
set(SOURCES
ApiGen.cpp
EntryPoint.cpp