Skip to content

Commit

Permalink
clay_app: Allow adding custom link libs.
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterGC committed Apr 28, 2024
1 parent 45155ca commit 0e7b690
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cmake/clayapp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include(CMakeParseArguments)
macro(clay_app CLAYGROUND_APP_NAME)

set (oneValueArgs VERSION)
set (multiValueArgs SOURCES QML_FILES RES_FILES)
set (multiValueArgs SOURCES LINK_LIBS QML_FILES RES_FILES)
cmake_parse_arguments(CLAYAPP "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})

cmake_minimum_required(VERSION 3.16)
Expand Down Expand Up @@ -41,9 +41,7 @@ macro(clay_app CLAYGROUND_APP_NAME)
Qt6::Core
Qt6::Qml
Qt6::Quick
Qt6::Multimedia
Qt6::Core5Compat
Qt6::Sql
${CLAYAPP_LINK_LIBS}
$CACHE{CLAYGROUND_STATIC_PLUGINS})

qt6_policy(SET QTP0001 NEW)
Expand Down

0 comments on commit 0e7b690

Please sign in to comment.