summaryrefslogtreecommitdiffstats
path: root/tdescreensaver
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2013-09-01 09:29:15 +0400
committerSlávek Banko <slavek.banko@axis.cz>2013-09-08 10:50:57 +0200
commit440db91f914eb9ba19bd208c443638a508be8f46 (patch)
tree7653d29e97ea4cbd8de38f166fa1a10abdf86e94 /tdescreensaver
parentd1a487948aec5f93306f32d07979b2af42e61e33 (diff)
downloadtdebase-440db91f914eb9ba19bd208c443638a508be8f46.tar.gz
tdebase-440db91f914eb9ba19bd208c443638a508be8f46.zip
Add optional opengl support
Diffstat (limited to 'tdescreensaver')
-rw-r--r--tdescreensaver/CMakeLists.txt2
-rw-r--r--tdescreensaver/random.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tdescreensaver/CMakeLists.txt b/tdescreensaver/CMakeLists.txt
index 289ec1661..619166dc5 100644
--- a/tdescreensaver/CMakeLists.txt
+++ b/tdescreensaver/CMakeLists.txt
@@ -30,7 +30,7 @@ install( FILES KRandom.desktop KBlankscreen.desktop DESTINATION ${APPS_INSTALL_D
tde_add_executable( krandom.kss AUTOMOC
SOURCES random.cpp
- LINK tdeui-shared ${GL_LIBRARY}
+ LINK tdeui-shared ${GL_LIBRARIES}
DESTINATION ${BIN_INSTALL_DIR}
)
diff --git a/tdescreensaver/random.cpp b/tdescreensaver/random.cpp
index ae2bce601..b7c90db97 100644
--- a/tdescreensaver/random.cpp
+++ b/tdescreensaver/random.cpp
@@ -92,7 +92,7 @@ bool hasDirectRendering () {
return false;
}
#else
-#error no GL?
+ // no GL
return false;
#endif