diff --git a/CMake/NPMInstall.cmake b/CMake/NPMInstall.cmake
index fa024ad0e48591f3817fc3605f18cc2361db9a59..907321f1a17c2fbd0401aa4c280566e3109f7782 100644
--- a/CMake/NPMInstall.cmake
+++ b/CMake/NPMInstall.cmake
@@ -132,7 +132,7 @@ function(npm_install NPM_PACKAGE_SPECIFICATION)
     add_custom_target(copy_package_json_${PACKAGE_NAME} SOURCES "${JSON_PACKAGE_SPECIFICATION}")
     add_custom_target(download_npm_dependencies_${PACKAGE_NAME} SOURCES "${NPM_BINARY_DIR}/package.json")
     add_custom_target(packing_javascript_files_${PACKAGE_NAME} ALL
-    SOURCES  "${INSTALLED_SOURCE_FILES}" "${INSTALLED_PUBLIC_FILES}" "${NPM_BINARY_DIR}/node_modules" "${NPM_BINARY_DIR}/package-lock.json")
+    SOURCES  ${INSTALLED_SOURCE_FILES} ${INSTALLED_PUBLIC_FILES} "${NPM_BINARY_DIR}/node_modules" "${NPM_BINARY_DIR}/package-lock.json")
     
     add_custom_target(start_development_server_${PACKAGE_NAME} 
         SOURCES "${NPM_BINARY_DIR}/node_modules" "${NPM_BINARY_DIR}/package-lock.json" "${NPM_BINARY_DIR}/package.json"