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" ],