diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0790f74..9bb66c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -30,6 +30,15 @@ INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR}/include | |||
| 30 | 30 | ||
| 31 | ENABLE_TESTING() | 31 | ENABLE_TESTING() |
| 32 | 32 | ||
| 33 | IF (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/libcnary/CMakeLists.txt") | ||
| 34 | MESSAGE(FATAL_ERROR " | ||
| 35 | You need to checkout the 'libcnary' submodule to build libplist. | ||
| 36 | To do so, perform the following steps in the base directory: | ||
| 37 | git submodule init | ||
| 38 | git submodule update | ||
| 39 | Then, run cmake again.") | ||
| 40 | ENDIF() | ||
| 41 | |||
| 33 | ADD_SUBDIRECTORY( libcnary ) | 42 | ADD_SUBDIRECTORY( libcnary ) |
| 34 | ADD_SUBDIRECTORY( src ) | 43 | ADD_SUBDIRECTORY( src ) |
| 35 | ADD_SUBDIRECTORY( plutil ) | 44 | ADD_SUBDIRECTORY( plutil ) |
