From 7fa19bbe43b6457fdfb9e3418ab196fc6d6897b4 Mon Sep 17 00:00:00 2001 From: Mattia Mancini <mancini@astron.nl> Date: Thu, 18 Oct 2018 15:07:00 +0000 Subject: [PATCH] OSB-29: fix cmake file --- CMake/NPMInstall.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMake/NPMInstall.cmake b/CMake/NPMInstall.cmake index 25c66b40cb7..5fb87ea1066 100644 --- a/CMake/NPMInstall.cmake +++ b/CMake/NPMInstall.cmake @@ -84,7 +84,7 @@ function(npm_install NPM_PACKAGE_SPECIFICATION) add_custom_target(copy_src_public_${PACKAGE_NAME} SOURCES "${NPM_BINARY_DIR}/public" "${NPM_BINARY_DIR}/src") add_custom_target(copy_package_json_${PACKAGE_NAME} SOURCES "${NPM_BINARY_DIR}/package.json") - add_custom_target(download_npm_dependencies_${PACKAGE_NAME} ALL SOURCES "${NPM_BINARY_DIR}/node_modules" "${NPM_BINARY_DIR}/package-lock.json" DEPENDS copy_src_public_${PACKAGE_NAME} copy_package_json_${PACKAGE_NAME}) + add_custom_target(download_npm_dependencies_${PACKAGE_NAME} SOURCES "${NPM_BINARY_DIR}/node_modules" "${NPM_BINARY_DIR}/package-lock.json" DEPENDS copy_src_public_${PACKAGE_NAME} copy_package_json_${PACKAGE_NAME}) add_custom_target(packing_javascript_files_${PACKAGE_NAME} ALL SOURCES ${NPM_BINARY_DIR}/build) 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" COMMENT "Start start_development_server for ${PACKAGE_NAME}") -- GitLab