mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-23 10:25:45 -05:00
CMake: always automoc generated files
This commit is contained in:
parent
0812f035d0
commit
992d5b4e9d
1 changed files with 4 additions and 0 deletions
|
@ -40,6 +40,10 @@ set( CMAKE_CXX_STANDARD_REQUIRED ON )
|
|||
set( CMAKE_C_STANDARD 99 )
|
||||
set( CMAKE_C_STANDARD_REQUIRED ON )
|
||||
|
||||
# CMake 3.9, 3.10 compatibility
|
||||
if( POLICY CMP0071 )
|
||||
cmake_policy( SET CMP0071 NEW )
|
||||
endif()
|
||||
if(NOT CMAKE_VERSION VERSION_LESS "3.10.0")
|
||||
list(APPEND CMAKE_AUTOMOC_MACRO_NAMES
|
||||
"K_PLUGIN_FACTORY_WITH_JSON"
|
||||
|
|
Loading…
Add table
Reference in a new issue