From 63241b7ca7718a5d3dbbb731fd225d92177d71fd Mon Sep 17 00:00:00 2001 From: Vadim Lopatin Date: Wed, 10 Dec 2014 14:45:12 +0300 Subject: [PATCH] fix version definitions for posix - to use SDL and OPENGL --- dub.json | 2 ++ examples/example1/dub.json | 2 ++ examples/helloworld/dub.json | 2 ++ 3 files changed, 6 insertions(+) diff --git a/dub.json b/dub.json index 46e49dc7..59755b5a 100644 --- a/dub.json +++ b/dub.json @@ -17,6 +17,8 @@ "targetPath": "lib", "targetType": "staticLibrary", + "versions-posix": ["USE_SDL", "USE_OPENGL"], + "sourceFiles": [ "project.ddoc" ], diff --git a/examples/example1/dub.json b/examples/example1/dub.json index 0b37d4c9..fed23a61 100644 --- a/examples/example1/dub.json +++ b/examples/example1/dub.json @@ -17,6 +17,8 @@ "../../lib/FreeImage.dll" ], + "versions-posix": ["USE_SDL", "USE_OPENGL"], + "mainSourceFile": "src/main.d", "dependencies": { diff --git a/examples/helloworld/dub.json b/examples/helloworld/dub.json index 9894c6ef..2f18fb37 100644 --- a/examples/helloworld/dub.json +++ b/examples/helloworld/dub.json @@ -9,6 +9,8 @@ "targetPath": "bin", "targetType": "executable", + "versions-posix": ["USE_SDL", "USE_OPENGL"], + "sourceFiles": [ "src/app.d" ],