From e2a03d6435f94afc390bdc1b73e8be4542199c33 Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Sat, 8 Feb 2014 17:51:14 -0700 Subject: [PATCH] CMake: 'direct' depends on 'panda' --- direct/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/direct/CMakeLists.txt b/direct/CMakeLists.txt index 904bf6f9ae..28f09f3c8c 100644 --- a/direct/CMakeLists.txt +++ b/direct/CMakeLists.txt @@ -1,3 +1,7 @@ +if(NOT BUILD_PANDA) + message(FATAL_ERROR "Cannot build direct without panda! Please enable the BUILD_PANDA option.") +endif() + # Include source directories which have C++ components: add_subdirectory(src/directbase) add_subdirectory(src/autorestart)