From 2103b6b49244759734349e2c064f5beb689c02db Mon Sep 17 00:00:00 2001 From: viferga Date: Fri, 20 Mar 2020 17:03:45 -0800 Subject: [PATCH] Update install directory in bootstrap for Guix. --- source/loaders/node_loader/bootstrap/CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/loaders/node_loader/bootstrap/CMakeLists.txt b/source/loaders/node_loader/bootstrap/CMakeLists.txt index 7fce3a33f..bf335bdaa 100644 --- a/source/loaders/node_loader/bootstrap/CMakeLists.txt +++ b/source/loaders/node_loader/bootstrap/CMakeLists.txt @@ -38,6 +38,12 @@ if(NOT OPTION_BUILD_GUIX) ) add_dependencies(${target} ${target}-depends) + + install(DIRECTORY + ${CMAKE_CURRENT_BINARY_DIR}/node_modules + DESTINATION ${INSTALL_LIB} + COMPONENT runtime + ) endif() # @@ -60,9 +66,3 @@ install(FILES DESTINATION ${INSTALL_LIB} COMPONENT runtime ) - -install(DIRECTORY - ${CMAKE_CURRENT_BINARY_DIR}/node_modules - DESTINATION ${INSTALL_LIB} - COMPONENT runtime -)