--- a/project_files/hwc/CMakeLists.txt Fri Dec 21 16:54:41 2018 +0100
+++ b/project_files/hwc/CMakeLists.txt Fri Dec 21 16:55:34 2018 +0100
@@ -37,6 +37,9 @@
list(REMOVE_ITEM engine_sources_pas "${CMAKE_SOURCE_DIR}/hedgewars/pas2cSystem.pas")
list(REMOVE_ITEM engine_sources_pas "${CMAKE_SOURCE_DIR}/hedgewars/pas2cRedo.pas")
list(REMOVE_ITEM engine_sources_pas "${CMAKE_SOURCE_DIR}/hedgewars/hwLibrary.pas")
+if(NOVIDEOREC)
+ list(REMOVE_ITEM engine_sources_pas "${CMAKE_SOURCE_DIR}/hedgewars/uVideoRec.pas")
+endif()
if(NOT GL2)
list(REMOVE_ITEM engine_sources_pas "${CMAKE_SOURCE_DIR}/hedgewars/uMatrix.pas")
endif()