[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::Test
|
||||
)
|
||||
set_target_properties( initcpiotest PROPERTIES AUTOMOC TRUE )
|
||||
target_include_directories( initcpiotest PRIVATE /usr/local/include )
|
||||
calamares_automoc( initcpiotest )
|
||||
endif()
|
||||
|
@ -21,6 +21,5 @@ if( ECM_FOUND AND BUILD_TESTING )
|
||||
Qt5::Core
|
||||
Qt5::Test
|
||||
)
|
||||
set_target_properties( initramfstest PROPERTIES AUTOMOC TRUE )
|
||||
target_include_directories( initramfstest PRIVATE /usr/local/include )
|
||||
calamares_automoc( initramfstest )
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user