Merge pull request #3061

17213bf cmake: move autogen to avoid warnings (selsta)
This commit is contained in:
luigi1111 2020-09-07 15:06:49 -05:00
commit e97fb0b3d8
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

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()
@ -78,6 +75,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)