From 0408f9b7dfcca59488484b4d7326ffdb32fbfb84 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 30 Aug 2017 14:47:13 -0700 Subject: Pass the current cmake generator to the native-tools build --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index b99d2549..626ba560 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1131,7 +1131,7 @@ FILE(MAKE_DIRECTORY "${NATIVE_BIN_DIR}") SET(BIN2H_COMMAND "${NATIVE_BIN_DIR}bin2h") SET(BSINCGEN_COMMAND "${NATIVE_BIN_DIR}bsincgen") ADD_CUSTOM_COMMAND(OUTPUT "${BIN2H_COMMAND}" "${BSINCGEN_COMMAND}" - COMMAND ${CMAKE_COMMAND} "${NATIVE_SRC_DIR}" + COMMAND ${CMAKE_COMMAND} -G "${CMAKE_GENERATOR}" "${NATIVE_SRC_DIR}" COMMAND ${CMAKE_COMMAND} -E remove "${BIN2H_COMMAND}" "${BSINCGEN_COMMAND}" COMMAND ${CMAKE_COMMAND} --build . --config "Release" WORKING_DIRECTORY "${NATIVE_BIN_DIR}" -- cgit v1.2.3