diff --git a/mediachanger/CMakeLists.txt b/mediachanger/CMakeLists.txt
index a4a4ffc803ca3e3b2970ef9132d2d07863e78938..6d156042e27736a26b45662635afc7268d9fa4f4 100644
--- a/mediachanger/CMakeLists.txt
+++ b/mediachanger/CMakeLists.txt
@@ -15,6 +15,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 cmake_minimum_required (VERSION 2.6)
 
+add_subdirectory(castorrmc)
 find_package(openssl REQUIRED)
 find_package(Protobuf3 REQUIRED)
 find_package(zeromq REQUIRED)