CMake: 'direct' depends on 'panda'

This commit is contained in:
Sam Edwards 2014-02-08 17:51:14 -07:00
parent 87cae490cd
commit e2a03d6435
1 changed files with 4 additions and 0 deletions

View File

@ -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)