Skip to content

Commit 46248b1

Browse files
authored
Fix small typo and format better. (#9195)
1 parent a96d222 commit 46248b1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.cmake.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,14 @@ On macOS you need to install:
6666
- macports: https://guide.macports.org/#installing.macports
6767
```sudo port install cmake ccache qt5 qt5-qtwebkit autoconf boost OpenSceneGraph gfortran```
6868
- Compile OpenModelica via:
69-
```
70-
git clone https://github.com/OpenModelica/OpenModelica.git --recursive
71-
cd OpenModelica
72-
cmake -S . -B build_cmake -DCMAKE_PREFIX_PATH=/opt/local -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DOM_OMC_ENABLE_FORTRAN=OFF -DOM_OMC_ENABLE_IPOPT=OFF
73-
cmake --build build_cmake --parallel 10 --target install
74-
```
69+
```
70+
git clone https://github.com/OpenModelica/OpenModelica.git --recursive
71+
cd OpenModelica
72+
cmake -S . -B build_cmake -DCMAKE_PREFIX_PATH=/opt/local -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DOM_OMC_ENABLE_FORTRAN=OFF -DOM_OMC_ENABLE_IPOPT=OFF
73+
cmake --build build_cmake --parallel 10 --target install
74+
```
7575

76-
It some of the above instructions fail, read on below.
76+
If some of the above instructions fail, read on below.
7777
On macOS there are a few pitfalls/issues which need attention.
7878

7979
- if building simulation code fails go OMEdit -> Preferences -> Simulation and change the C / C++ compiler to gcc/g++.

0 commit comments

Comments
 (0)