Skip to content

Commit 3400c2b

Browse files
committed
Making sure unit test executable doesn't require web browser
1 parent fe7ae27 commit 3400c2b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Tests/CMakeLists.txt

+7-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,13 @@ endif()
6262
include (Catch)
6363

6464
juce_add_console_app (FoleysGUIMagicTests VERSION ${FOLEYS_VERSION}
65-
BUNDLE_ID "com.foleysfinest.foleys_gui_magic.tests")
65+
BUNDLE_ID "com.foleysfinest.foleys_gui_magic.tests"
66+
NEEDS_WEB_BROWSER FALSE
67+
NEEDS_CURL FALSE)
68+
69+
target_compile_definitions (FoleysGUIMagicTests PRIVATE
70+
JUCE_USE_CURL=0
71+
JUCE_WEB_BROWSER=0)
6672

6773
target_sources (FoleysGUIMagicTests PRIVATE
6874
foleys_MagicProcessorTests.cpp

0 commit comments

Comments
 (0)