set PYTHONPATH in separate COMMAND doesn't work with all CMake generators
authorannulen@yandex.ru <annulen@yandex.ru@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Dec 2016 20:19:02 +0000 (20:19 +0000)
committerannulen@yandex.ru <annulen@yandex.ru@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Dec 2016 20:19:02 +0000 (20:19 +0000)
https://bugs.webkit.org/show_bug.cgi?id=164997

Reviewed by Alex Christensen.

Fix for r201413.

* Source/cmake/WebKitMacros.cmake:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@210071 268f45cc-cd09-0410-ab3c-d52691b4dbfc

ChangeLog
Source/cmake/WebKitMacros.cmake

index e13b113..14f6471 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2016-12-21  Konstantin Tokarev  <annulen@yandex.ru>
+
+        set PYTHONPATH in separate COMMAND doesn't work with all CMake generators
+        https://bugs.webkit.org/show_bug.cgi?id=164997
+
+        Reviewed by Alex Christensen.
+
+        Fix for r201413.
+
+        * Source/cmake/WebKitMacros.cmake:
+
 2016-12-17  Joonghun Park  <jh718.park@samsung.com>
 
         [EFL] bump EFL version to 1.18.4
index 874e566..dd53b33 100644 (file)
@@ -386,7 +386,7 @@ endmacro()
 
 macro(MAKE_JS_FILE_ARRAYS _output_cpp _output_h _scripts _scripts_dependencies)
     if (WIN32)
-        set(_python_path set "PYTHONPATH=${JavaScriptCore_SCRIPTS_DIR}" COMMAND)
+        set(_python_path set "PYTHONPATH=${JavaScriptCore_SCRIPTS_DIR}" &&)
     else ()
         set(_python_path "PYTHONPATH=${JavaScriptCore_SCRIPTS_DIR}")
     endif ()