Skip to content

Commit

Permalink
Partially reverted ability to build with low RAM
Browse files Browse the repository at this point in the history
Partially reverted ability to build on systems with low RAM because it rendered containerized builds unusable
  • Loading branch information
Cuperino committed Feb 26, 2023
1 parent e4301be commit 10042e2
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,12 @@ set(qprompt_HDRS
qt/qmlutil.hpp
)

if(AVAILABLE_VIRTUAL_MEMORY GREATER 2048)
set(qprompt_ASSETS
assets.qrc
icons/icons.qrc
fonts/fonts.qrc
fonts/chinese.qrc
)
else()
set(qprompt_ASSETS
assets.qrc
icons/icons.qrc
fonts/fonts.qrc
)
endif()
set(qprompt_ASSETS
assets.qrc
icons/icons.qrc
fonts/fonts.qrc
fonts/chinese.qrc
)

qt_wrap_ui(qprompt_SRCS
qt/systemfontchooserdialog.ui
Expand Down

0 comments on commit 10042e2

Please sign in to comment.