From f8a584aef10a252460f2cd161826f44afdc3324b Mon Sep 17 00:00:00 2001 From: Jan200101 Date: Wed, 29 Jun 2022 19:03:40 +0200 Subject: add source sdk path fetching, directly launch OF via sdk executable - guard Flatpak logic for non Linux UNIX systems - add /proc check on FreeBSD - allow arguments when launching OF - update README - add alternative launch options to CMakeLists.txt - add CFLAGS to all libraries and executables --- src/qt/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qt/CMakeLists.txt') diff --git a/src/qt/CMakeLists.txt b/src/qt/CMakeLists.txt index 56d16c4..3702ad5 100644 --- a/src/qt/CMakeLists.txt +++ b/src/qt/CMakeLists.txt @@ -32,6 +32,7 @@ set(THREADS_PREFER_PTHREAD_FLAG ON) find_package(Threads REQUIRED) add_executable(${FRONTEND_NAME} WIN32 ${QT_SOURCES}) +target_compile_options(${FRONTEND_NAME} PUBLIC ${CFLAGS}) target_link_libraries(${FRONTEND_NAME} PRIVATE tvn) target_link_libraries(${FRONTEND_NAME} PRIVATE Threads::Threads) target_link_libraries(${FRONTEND_NAME} PRIVATE Qt${QT_VERSION_MAJOR}::Widgets) -- cgit v1.2.3