From 17213bfe8c9e68cbcb6739e9a5e5890941808380 Mon Sep 17 00:00:00 2001 From: selsta Date: Sat, 29 Aug 2020 04:27:31 +0200 Subject: [PATCH] cmake: move autogen to avoid warnings --- CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 71fca00e..fbd4907e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,9 +21,6 @@ include(CheckCXXCompilerFlag) include(CheckLinkerFlag) include(FindCcache) -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) if(DEBUG) set(CMAKE_VERBOSE_MAKEFILE ON) endif() @@ -79,6 +76,11 @@ if(GIT_FOUND) endif() add_subdirectory(monero) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + set_property(TARGET wallet_merged PROPERTY FOLDER "monero") get_directory_property(ARCH_WIDTH DIRECTORY "monero" DEFINITION ARCH_WIDTH) get_directory_property(UNBOUND_LIBRARY DIRECTORY "monero" DEFINITION UNBOUND_LIBRARY)