Skip to content

Commit

Permalink
Merge pull request #1704 from JackBoosY/jack/fix_condition
Browse files Browse the repository at this point in the history
Add condition to check dependency MeshSDFilter folder
  • Loading branch information
simogasp authored Apr 28, 2024
2 parents 8cbbdd8 + 3225e72 commit 70f8b90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ endmacro(add_target_properties)
# ==============================================================================
# Check that submodule have been initialized and updated
# ==============================================================================
if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/dependencies/MeshSDFilter/CMakeLists.txt)
if(ALICEVISION_USE_MESHSDFILTER AND NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/dependencies/MeshSDFilter/CMakeLists.txt)
message(FATAL_ERROR
"\n submodule(s) are missing, please update your repository:\n"
" > git submodule update -i\n")
Expand Down

0 comments on commit 70f8b90

Please sign in to comment.