Browse Source

Fix skipping of antkeeper-data submodule if empty directory exists

master
C. J. Howard 4 years ago
parent
commit
93a9d430ce
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      CMakeLists.txt

+ 1
- 1
CMakeLists.txt View File

@ -223,7 +223,7 @@ ExternalProject_Add(antkeeper-source
BUILD_ALWAYS 1) BUILD_ALWAYS 1)
# Build antkeeper-data module (if exists) # Build antkeeper-data module (if exists)
if(IS_DIRECTORY ${MODULE_SOURCE_DIR}/antkeeper-data)
if(EXISTS ${MODULE_SOURCE_DIR}/antkeeper-data/CMakeLists.txt)
ExternalProject_Add(antkeeper-data ExternalProject_Add(antkeeper-data
DEPENDS antkeeper-source DEPENDS antkeeper-source
SOURCE_DIR ${MODULE_SOURCE_DIR}/antkeeper-data SOURCE_DIR ${MODULE_SOURCE_DIR}/antkeeper-data

Loading…
Cancel
Save