Lines 32-61
if (NOT NO_REGRESSION)
Link Here
|
32 |
|
32 |
|
33 |
add_subdirectory(far_perf) |
33 |
add_subdirectory(far_perf) |
34 |
|
34 |
|
35 |
if(OPENGL_FOUND AND (GLEW_FOUND OR APPLE) AND GLFW_FOUND) |
|
|
36 |
add_subdirectory(osd_regression) |
37 |
else() |
38 |
set(MISSING "") |
39 |
|
40 |
if (NOT OPENGL_FOUND) |
41 |
list(APPEND MISSING OpenGL) |
42 |
endif() |
43 |
|
44 |
if (NOT GLEW_FOUND) |
45 |
list(APPEND MISSING glew) |
46 |
endif() |
47 |
|
48 |
if (NOT GLFW_FOUND) |
49 |
list(APPEND MISSING glfw) |
50 |
endif() |
51 |
|
52 |
message(WARNING |
53 |
"The following libraries could not be found : ${MISSING}. " |
54 |
"The osd regression test will not be available. " |
55 |
"If you have these libraries installed, please specify their " |
56 |
"path to cmake (through the GLEW_LOCATION and GLFW_LOCATION " |
57 |
"command line arguments or environment variables)." |
58 |
) |
59 |
endif() |
60 |
|
61 |
endif() |
35 |
endif() |