1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-22 12:14:00 +01:00

cmake: move autogen to avoid warnings

This commit is contained in:
selsta 2020-08-29 04:27:31 +02:00
parent e65159163d
commit 17213bfe8c
No known key found for this signature in database
GPG Key ID: 2EA0A99A8B07AE5E

View File

@ -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)