File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,9 @@ endif()
1010if (EXISTS "${CMAKE_SOURCE_DIR} /third_party/paraview" )
1111 file (COPY "${CMAKE_SOURCE_DIR} /third_party/paraview" DESTINATION "${CMAKE_SOURCE_DIR} /build/third_party" )
1212 if (APPLE )
13+ if (NOT EXISTS "${CMAKE_SOURCE_DIR} /third_party/paraview/include/paraview-3.10" )
1314 set (CMAKE_BDM_PVVERSION "5.9" )
15+ endif ()
1416 endif ()
1517
1618else ()
4042 ${PARAVIEW_SOURCE_DIR}
4143 ${PARAVIEW_SHA}
4244 )
45+ file (COPY "${CMAKE_SOURCE_DIR} /build/third_party/paraview" DESTINATION "${CMAKE_SOURCE_DIR} /third_party/paraview" )
4346
4447 elseif (${PARAVIEW_DOWNLOAD_OR_BUILD} EQUAL 0)
4548 if (NOT EXISTS "${CMAKE_SOURCE_DIR} /build/third_party" )
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ function(detect_os)
2525 OUTPUT_VARIABLE MACOS_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)
2626 execute_process (COMMAND sw_vers -productVersion
2727 COMMAND cut -d . -f 1
28- COMMAND awk \' {print $1 ".0" }\'
28+ COMMAND awk " {print $1 \ " .0\" }"
2929 OUTPUT_VARIABLE MACOS_VERSION_GENERAL OUTPUT_STRIP_TRAILING_WHITESPACE)
3030 execute_process (COMMAND arch
3131 OUTPUT_VARIABLE MACOS_ARCH OUTPUT_STRIP_TRAILING_WHITESPACE)
You can’t perform that action at this time.
0 commit comments