From 63f0ef5c6352b3ff1f3c862a53e6266cb599725f Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 2 Jun 2020 22:23:25 +0400 Subject: [PATCH] Add DESKTOP_APP_SPECIAL_TARGET define. --- options.cmake | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/options.cmake b/options.cmake index 79845bf..80b7405 100644 --- a/options.cmake +++ b/options.cmake @@ -54,6 +54,13 @@ if (DESKTOP_APP_USE_PACKAGED_RLOTTIE) ) endif() +if (NOT DESKTOP_APP_SPECIAL_TARGET STREQUAL "") + target_compile_definitions(common_options + INTERFACE + DESKTOP_APP_SPECIAL_TARGET=${DESKTOP_APP_SPECIAL_TARGET} + ) +endif() + if (WIN32) include(cmake/options_win.cmake) elseif (APPLE)