Skip to content

Commit

Permalink
disable Path module on Win32 if cmake version is less than 3.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Feb 4, 2017
1 parent c014fe1 commit 16a23d1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Expand Up @@ -262,6 +262,12 @@ if(BUILD_FEM)
set(BUILD_SMESH ON)
endif()

# for Windows the minimum required cmake version is 3.4.3 to build the Path module
if(WIN32 AND CMAKE_VERSION VERSION_LESS 3.4.3)
message(WARNING "Disable Path, requires cmake >= 3.4.3 in order to build this module")
set(BUILD_PATH OFF)
endif()

# ==============================================================================
#inter-module dependencies

Expand Down

0 comments on commit 16a23d1

Please sign in to comment.