[initcpio] [initramfs] Set compilation options on tests
- calamares_automoc() sets AUTOMOC, but also adds some flags to avoid compilation warnings from the generated MOC code. - drop weird hard-coded include paths
This commit is contained in:
parent
739363cecd
commit
e81bd52fb5
@ -21,6 +21,5 @@ if( ECM_FOUND AND BUILD_TESTING )
|
|||||||
Qt5::Core
|
Qt5::Core
|
||||||
Qt5::Test
|
Qt5::Test
|
||||||
)
|
)
|
||||||
set_target_properties( initcpiotest PROPERTIES AUTOMOC TRUE )
|
calamares_automoc( initcpiotest )
|
||||||
target_include_directories( initcpiotest PRIVATE /usr/local/include )
|
|
||||||
endif()
|
endif()
|
||||||
|
@ -21,6 +21,5 @@ if( ECM_FOUND AND BUILD_TESTING )
|
|||||||
Qt5::Core
|
Qt5::Core
|
||||||
Qt5::Test
|
Qt5::Test
|
||||||
)
|
)
|
||||||
set_target_properties( initramfstest PROPERTIES AUTOMOC TRUE )
|
calamares_automoc( initramfstest )
|
||||||
target_include_directories( initramfstest PRIVATE /usr/local/include )
|
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user