Skip to content
Permalink
Browse files
Simplify test for yarn
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
  • Loading branch information
pathmapper and m-kuhn committed Jan 6, 2022
1 parent b4ba782 commit 129c59d51c2de3bcef75fce40bf93849aadc8730
Showing with 1 addition and 4 deletions.
  1. +1 −4 resources/CMakeLists.txt
@@ -36,10 +36,7 @@ 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()
find_program(YARN yarn REQUIRED)

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 129c59d

Please sign in to comment.