From 5f0ae035b0ebbd4cbafbb0692f93873119e91821 Mon Sep 17 00:00:00 2001 From: Frank Celler Date: Wed, 4 May 2016 16:23:12 +0200 Subject: [PATCH] added default env variables --- 3rdParty/V8/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/3rdParty/V8/CMakeLists.txt b/3rdParty/V8/CMakeLists.txt index 22a5d457e1..4c2e6fc068 100644 --- a/3rdParty/V8/CMakeLists.txt +++ b/3rdParty/V8/CMakeLists.txt @@ -360,9 +360,9 @@ else () option(USE_DEBUG_V8 "compile V8 in DEBUG mode" OFF) - set(V8_CFLAGS "") - set(V8_CXXFLAGS "") - set(V8_LDFLAGS "") + set(V8_CFLAGS "$ENV{V8_CFLAGS}") + set(V8_CXXFLAGS "$ENV{V8_CXXFLAGS}") + set(V8_LDFLAGS "$ENV{V8_LDFLAGS}") if (USE_DEBUG_V8) set(V8_TARGET_ARCH "${V8_PROC_ARCH}.debug")