CMake: Add support for LIBRARY_PATHS to slint_target_sources

This makes it possible to use component libraries with C++.
This commit is contained in:
Simon Hausmann 2024-06-04 14:18:11 +02:00 committed by Simon Hausmann
parent b9052ecf8a
commit 6f2a6c3f09
8 changed files with 62 additions and 6 deletions

View file

@ -0,0 +1,10 @@
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
#include "appwindow.h"
int main(int argc, char **argv)
{
auto my_ui = App::create();
my_ui->run();
}