From 150b938b4922ec162bcb593c365e3d3616e0dbd7 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Fri, 3 Feb 2017 15:59:42 -0800 Subject: [build, ios, macos] Simplify version portion of user agent string The X.Y.Z version portion was unreliable, as it pulled from the latest tag regardless of platform. Set version to 0.0.0 and retrieve only the hash, which allows us to drop the node/npm dependency. --- cmake/mbgl.cmake | 2 -- 1 file changed, 2 deletions(-) (limited to 'cmake/mbgl.cmake') diff --git a/cmake/mbgl.cmake b/cmake/mbgl.cmake index 4002257bb4..ca0487ef34 100644 --- a/cmake/mbgl.cmake +++ b/cmake/mbgl.cmake @@ -10,8 +10,6 @@ if (NOT MASON_PLATFORM) set(MASON_PLATFORM "${MBGL_PLATFORM}") endif() -set(MBGL_GENERATED ${CMAKE_BINARY_DIR}/generated/${CMAKE_CFG_INTDIR}) - if(NOT EXISTS ${CMAKE_SOURCE_DIR}/node_modules/node-cmake/FindNodeJS.cmake) message(FATAL_ERROR "Can't find node-cmake") endif() -- cgit v1.2.1