summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt9
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
31ENABLE_TESTING() 31ENABLE_TESTING()
32 32
33IF (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/libcnary/CMakeLists.txt")
34 MESSAGE(FATAL_ERROR "
35You need to checkout the 'libcnary' submodule to build libplist.
36To do so, perform the following steps in the base directory:
37 git submodule init
38 git submodule update
39Then, run cmake again.")
40ENDIF()
41
33ADD_SUBDIRECTORY( libcnary ) 42ADD_SUBDIRECTORY( libcnary )
34ADD_SUBDIRECTORY( src ) 43ADD_SUBDIRECTORY( src )
35ADD_SUBDIRECTORY( plutil ) 44ADD_SUBDIRECTORY( plutil )