Skip to content

Commit

Permalink
moved inclusion of version_config after checks on Matlab etc
Browse files Browse the repository at this point in the history
This move allows version_config to know if Matlab/Python etc support is being built
and what versions they are.
  • Loading branch information
Kris Thielemans committed Jun 21, 2019
1 parent 98f1c03 commit 2ed82ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ else()
endif()

set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake" ${CMAKE_MODULE_PATH})
include(version_config.cmake)
include(ExternalProject)
include(ExternalProjectDependency)

Expand Down
3 changes: 3 additions & 0 deletions SuperBuild.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ if (USE_ITK)
option(USE_SYSTEM_ITK "Build using an external version of ITK" OFF)
endif()

## set versions
include(version_config.cmake)

## build list of dependencies, based on options above
# first set to empty
set(${PRIMARY_PROJECT_NAME}_DEPENDENCIES)
Expand Down

0 comments on commit 2ed82ce

Please sign in to comment.