summaryrefslogtreecommitdiff
path: root/noncore/games/sfcave-sdl
Side-by-side diff
Diffstat (limited to 'noncore/games/sfcave-sdl') (more/less context) (show whitespace changes)
-rw-r--r--noncore/games/sfcave-sdl/sfcave-sdl.pro7
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/games/sfcave-sdl/sfcave-sdl.pro b/noncore/games/sfcave-sdl/sfcave-sdl.pro
index 2d4dcf1..8372919 100644
--- a/noncore/games/sfcave-sdl/sfcave-sdl.pro
+++ b/noncore/games/sfcave-sdl/sfcave-sdl.pro
@@ -50,6 +50,13 @@ HEADERS = animatedimage.h \
stringtokenizer.h \
settings.h \
starfield.h \
util.h
include ( $(OPIEDIR)/include.pro )
+
+!isEmpty( LIBSDL_INC_DIR ) {
+ INCLUDEPATH = $$LIBSDL_INC_DIR $$INCLUDEPATH
+}
+!isEmpty( LIBSDL_LIB_DIR ) {
+ LIBS = -L$$LIBSDL_LIB_DIR $$LIBS
+}