disable Path module on Win32 if cmake version is less than 3.4.3
This commit is contained in:
parent
c014fe17d8
commit
16a23d1694
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user