mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 09:25:36 -04:00
[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
2 changed files with 2 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue