|
189 | 189 | <tt>HAS_XSERVER=Off</tt>, especially as you may not have compiled Qt with |
190 | 190 | OpenGL and you may not have an X server. |
191 | 191 | If you want to use your own qt installation, be sure to set the <tt>QT_QMAKE_EXECUTABLE=/path/to/qmake</tt> flag when using cmake to configure %OpenMS. |
192 | | - Finally, you may have to remove any system libraries from the <tt>CMAKE_PREFIX_PATH</tt> to ensure that the correct version of each library is used. |
193 | 192 |
|
194 | 193 | @section install_linux_openms Configuring and building OpenMS/TOPP |
195 | 194 |
|
|
216 | 215 | <tt>/usr;/usr/local</tt> part of the path: |
217 | 216 |
|
218 | 217 | \code |
219 | | - cmake -DCMAKE_PREFIX_PATH="/PATH/TO/contrib-build;/usr;/usr/local" -DBOOST_USE_STATIC=OFF ../OpenMS |
| 218 | + cmake -DOPENMS_CONTRIB_LIBS="/PATH/TO/contrib-build" -DBOOST_USE_STATIC=OFF ../OpenMS |
220 | 219 | \endcode |
221 | 220 |
|
| 221 | + If CMake has problems finding system libraries, you might consider adding: |
| 222 | + \code |
| 223 | + -DCMAKE_PREFIX_PATH="/usr;/usr/local" |
| 224 | + \endcode |
| 225 | + to the CMake options. |
| 226 | + |
222 | 227 | In order to <i>build</i> the %OpenMS library, the TOPP tools, tests, and this |
223 | 228 | documentation, execute the following command: |
224 | 229 |
|
|
304 | 309 | <BR> |
305 | 310 | <b>Note:</b> Moving these directories after installing is not supported. |
306 | 311 |
|
307 | | - <b>For development, install prefixes are not supported. In this case %OpenMS must |
308 | | - be built in place!</b> |
| 312 | + <b>For development, install prefixes are not supported. In this case %OpenMS must |
| 313 | + be built in place!</b> |
309 | 314 | </td> |
310 | 315 | </tr> |
| 316 | + <tr> |
| 317 | + <td valign="top">\c OPENMS_CONTRIB_LIBS</td> |
| 318 | + <td>Seperate search path for the contrib libraries from github.com/OpenMS/contrib that is internally considered before |
| 319 | + CMAKE_PREFIX_PATH for searching, linking and adding include directories.</td> |
| 320 | + </tr> |
311 | 321 | <tr> |
312 | 322 | <td valign="top">\c CMAKE_PREFIX_PATH</td> |
313 | | - <td>Additional search path for the contrib libraries. |
314 | | - If not set the location is assumed to be <pre>contrib/</pre> as packaged in the Release tar.gz.</td> |
| 323 | + <td>Additional search path for the contrib libraries.</td> |
315 | 324 | </tr> |
316 | 325 | <tr> |
317 | 326 | <td valign="top">\c QT_QMAKE_EXECUTABLE</td> |
|
0 commit comments