Apply suggestions from code review

Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
This commit is contained in:
Nyall Dawson 2024-10-27 19:25:06 +10:00
parent fa97668bc8
commit 7bdc228f57

View File

@ -29,10 +29,10 @@ if (HAVE_OPENCL)
endif()
# Server, also install server subdirectory
SET(SERVER_DEST_RESOURCE_FILES "")
set(SERVER_DEST_RESOURCE_FILES "")
if (WITH_SERVER)
file(GLOB_RECURSE SERVER_RESOURCE_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} server/*)
ADD_QGIS_RESOURCES("${CMAKE_CURRENT_SOURCE_DIR}" resources SERVER_DEST_RESOURCE_FILES "${SERVER_RESOURCE_FILES}")
add_qgis_resources("${CMAKE_CURRENT_SOURCE_DIR}" resources SERVER_DEST_RESOURCE_FILES "${SERVER_RESOURCE_FILES}")
endif()
# Server landingpage webapp