Skip to content

Commit

Permalink
Revert vtk windows build change
Browse files Browse the repository at this point in the history
  • Loading branch information
akenmorris committed Aug 14, 2024
1 parent d869762 commit 887e1dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ build_vtk()
if [[ $BUILD_CLEAN = 1 ]]; then rm -rf build; fi
mkdir -p build && cd build
if [[ $OSTYPE == "msys" ]]; then
cmake -DCMAKE_CXX_FLAGS_RELEASE="$WIN_CFLAGS /std:c++20" -DCMAKE_C_FLAGS_RELEASE="$WIN_CFLAGS /std:c++20" -DCMAKE_SHARED_LINKER_FLAGS_RELEASE="$WIN_LFLAGS" -DCMAKE_EXE_LINKER_FLAGS_RELEASE="$WIN_LFLAGS" -DCMAKE_INSTALL_PREFIX="${INSTALL_DIR}" -DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_TESTING:BOOL=OFF -DVTK_Group_Qt:BOOL=ON -DVTK_QT_VERSION=5 -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DVTK_PYTHON_VERSION=3 -DVTK_GROUP_ENABLE_Qt=YES -DVTK_MODULE_ENABLE_VTK_GUISupportQtQuick:STRING=DONT_WANT -DVTK_MODULE_ENABLE_VTK_hdf5=NO -DBUILD_EXAMPLES:BOOL=OFF -DVTK_SMP_ENABLE_TBB=OFF -DVTK_SMP_IMPLEMENTATION_TYPE=STDThread -Wno-dev ..
cmake -DCMAKE_CXX_FLAGS_RELEASE="$WIN_CFLAGS" -DCMAKE_C_FLAGS_RELEASE="$WIN_CFLAGS" -DCMAKE_SHARED_LINKER_FLAGS_RELEASE="$WIN_LFLAGS" -DCMAKE_EXE_LINKER_FLAGS_RELEASE="$WIN_LFLAGS" -DCMAKE_INSTALL_PREFIX="${INSTALL_DIR}" -DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_TESTING:BOOL=OFF -DVTK_Group_Qt:BOOL=ON -DVTK_QT_VERSION=5 -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DVTK_PYTHON_VERSION=3 -DVTK_GROUP_ENABLE_Qt=YES -DVTK_MODULE_ENABLE_VTK_GUISupportQtQuick:STRING=DONT_WANT -DVTK_MODULE_ENABLE_VTK_hdf5=NO -DBUILD_EXAMPLES:BOOL=OFF -DVTK_SMP_ENABLE_TBB=ON -DVTK_SMP_IMPLEMENTATION_TYPE=TBB -Wno-dev ..
cmake --build . --config ${BUILD_TYPE} --parallel || exit 1
cmake --build . --config ${BUILD_TYPE} --target install
VTK_DIR="${INSTALL_DIR}/lib/cmake/vtk-${VTK_VER_STR}"
Expand Down

0 comments on commit 887e1dd

Please sign in to comment.