Skip to content
Permalink
Browse files
Test if yarn is available
  • Loading branch information
pathmapper committed Jan 6, 2022
1 parent 488a264 commit b4ba782ec3e4e897457deb05ecc21d85cc8310d1
Showing with 5 additions and 0 deletions.
  1. +5 −0 resources/CMakeLists.txt
@@ -36,6 +36,11 @@ endif()

# Server landingpage webapp
if (WITH_SERVER_LANDINGPAGE_WEBAPP)
find_program(YARN yarn)
if(NOT YARN)
message(FATAL_ERROR "Yarn not found, required for server landingpage webapp!")
endif()

file(GLOB_RECURSE LANDINGPAGE_SOURCE_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} server/src/landingpage/*)
set(LANDINGPAGE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/output/data/resources/server/src/landingpage)

0 comments on commit b4ba782

Please sign in to comment.