Skip to content

Commit

Permalink
Build tutorial once openMVG_LIBS is defined.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoulon committed May 3, 2015
1 parent c22a930 commit 06c6b3b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -233,11 +233,6 @@ ADD_SUBDIRECTORY(openMVG)
# Included for research purpose only
ADD_SUBDIRECTORY(nonFree)

# openMVG tutorial examples
IF (OpenMVG_BUILD_EXAMPLES)
ADD_SUBDIRECTORY(openMVG_Samples)
ENDIF (OpenMVG_BUILD_EXAMPLES)

# ==============================================================================
# openMVG libraries
# ==============================================================================
Expand Down Expand Up @@ -266,6 +261,11 @@ SET(OpenMVG_LIBS "${OpenMVG_LIBS}"
SET(OpenMVG_LIBS "${OpenMVG_LIBS}"
${OPENMVG_LIBRARY_DEPENDENCIES} CACHE STRING "openMVG library names")

# openMVG tutorial examples
IF (OpenMVG_BUILD_EXAMPLES)
ADD_SUBDIRECTORY(openMVG_Samples)
ENDIF (OpenMVG_BUILD_EXAMPLES)

# Complete software build on openMVG
ADD_SUBDIRECTORY(software)

Expand Down

0 comments on commit 06c6b3b

Please sign in to comment.