Browse Source

added compiler support for lambdas as requirement for standalone app

Malte Veerman 10 years ago
parent
commit
994b8081c5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      fancontrol-gui/CMakeLists.txt

+ 2 - 0
fancontrol-gui/CMakeLists.txt

@@ -14,5 +14,7 @@ add_definitions(${Qt5Widgets_DEFINITIONS})
 add_executable(fancontrol_gui ${Fancontrol_GUI_SRCS})
 target_link_libraries(fancontrol_gui ${LIBRARIES})
 
+target_compile_features(fancontrol_gui_lib PRIVATE cxx_lambdas)
+
 install(TARGETS fancontrol_gui ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
 install(FILES metadata.desktop RENAME "fancontrol_gui.desktop" DESTINATION ${XDG_APPS_INSTALL_DIR})