Remove superfluous build flags

This commit is contained in:
Adrian Insaurralde Avalos 2022-05-27 11:22:46 -04:00
parent e804c24c9b
commit a6ba9ff1f9

View file

@ -81,21 +81,15 @@ build() {
cmake -Wno-dev -G Ninja -B build -S . \ cmake -Wno-dev -G Ninja -B build -S . \
-D BUILD_ENABLE_CXX_STD=C++17 \ -D BUILD_ENABLE_CXX_STD=C++17 \
-D BUILD_FEM=ON \ -D BUILD_FEM=ON \
-D BUILD_FEM_NETGEN=OFF \
-D BUILD_MESH=ON \ -D BUILD_MESH=ON \
-D BUILD_FLAT_MESH=ON \ -D BUILD_FLAT_MESH=ON \
-D BUILD_MESH_PART=ON \ -D BUILD_MESH_PART=ON \
-D BUILD_SHIP=ON \ -D BUILD_SHIP=ON \
-D BUILD_COMPLETE=ON \
-D BUILD_JTREADER=OFF \
-D BUILD_PLOT=ON \
-D BUILD_CLOUD=OFF \
-D BUILD_DESIGNER_PLUGIN=ON \ -D BUILD_DESIGNER_PLUGIN=ON \
-D CMAKE_BUILD_TYPE=None \ -D CMAKE_BUILD_TYPE=None \
-D CMAKE_C_FLAGS="${CFLAGS} -fPIC -w" \ -D CMAKE_C_FLAGS="${CFLAGS} -fPIC -w" \
-D CMAKE_CXX_FLAGS="${CXXFLAGS} -fPIC -w" \ -D CMAKE_CXX_FLAGS="${CXXFLAGS} -fPIC -w" \
-D FREECAD_USE_EXTERNAL_PIVY=ON \ -D FREECAD_USE_EXTERNAL_PIVY=ON \
-D FREECAD_USE_OCC_VARIANT="Official Version" \
-D FREECAD_USE_QT_FILEDIALOG=ON \ -D FREECAD_USE_QT_FILEDIALOG=ON \
-D PYTHON_EXECUTABLE=/usr/bin/python \ -D PYTHON_EXECUTABLE=/usr/bin/python \
-D INSTALL_TO_SITEPACKAGES=ON \ -D INSTALL_TO_SITEPACKAGES=ON \