| Revision: | 1.1 |
| Committed: | Sat Oct 22 22:38:10 2011 UTC (14 years ago) by greg |
| Content type: | text/plain |
| Branch: | MAIN |
| Log Message: | Added qt interface for rvu and cmake files from Bill Hoffman |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | greg | 1.1 | if(UNIX) |
| 2 | find_library(LIB_M m DOC "Path to libm") | ||
| 3 | if(NOT LIB_M) | ||
| 4 | message(FATAL_ERROR "Cannot build radiance without libm. Please set LIB_M") | ||
| 5 | endif() | ||
| 6 | else() | ||
| 7 | set(LIB_M ) | ||
| 8 | endif() | ||
| 9 | |||
| 10 | find_package(OpenGL) | ||
| 11 | find_package(X11) | ||
| 12 | |||
| 13 | include_directories(common) | ||
| 14 | |||
| 15 | add_subdirectory(common) | ||
| 16 | add_subdirectory(cal) | ||
| 17 | add_subdirectory(cv) | ||
| 18 | add_subdirectory(gen) | ||
| 19 | add_subdirectory(hd) | ||
| 20 | add_subdirectory(meta) | ||
| 21 | add_subdirectory(ot) | ||
| 22 | add_subdirectory(px) | ||
| 23 | add_subdirectory(rt) | ||
| 24 | add_subdirectory(util) | ||
| 25 | # only use rvu if qt4 is found | ||
| 26 | if(QT4_FOUND) | ||
| 27 | add_subdirectory(qtrvu) | ||
| 28 | endif() | ||
| 29 |