Add workaround for gcc ICE.
commit65cdad7c3e56130272768242bcf81b0e16b861c5
authorMichał Sawicz <michal.sawicz@canonical.com>
dateWed 4 Feb 2015, 14:22 (12 years ago)
parent7fce284
tests/mocks/Unity/CMakeLists.txt+3
@@ -40,6 +40,9 @@ set(UnityQML_SOURCES
4040 ${SCOPES_API_INCLUDEDIR}/unity/shell/scopes/SettingsModelInterface.h
4141)
4242
43+# Workaround for gcc failure LP: #1417664
44+set_source_files_properties(fake_scopes.cpp PROPERTIES COMPILE_FLAGS -O1)
45+
4346add_library(FakeUnityQml MODULE ${UnityQML_SOURCES})
4447target_link_libraries(FakeUnityQml
4548 ${Qt5Core_LIBRARIES}