mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-21 07:26:46 +01:00
Don't build the python test if python is disabled
This commit is contained in:
parent
dacc7c1a2d
commit
4c2a2bb0fe
@ -113,7 +113,6 @@ add_test_file(mergedproxymodel_test.cpp false)
|
||||
add_test_file(organiseformat_test.cpp false)
|
||||
add_test_file(playlist_test.cpp true)
|
||||
add_test_file(plsparser_test.cpp false)
|
||||
add_test_file(python_test.cpp true)
|
||||
add_test_file(scopedtransaction_test.cpp false)
|
||||
add_test_file(songloader_test.cpp false)
|
||||
add_test_file(songplaylistitem_test.cpp false)
|
||||
@ -121,6 +120,10 @@ add_test_file(song_test.cpp false)
|
||||
add_test_file(translations_test.cpp false)
|
||||
add_test_file(xspfparser_test.cpp false)
|
||||
|
||||
if (HAVE_SCRIPTING_PYTHON)
|
||||
add_test_file(python_test.cpp true)
|
||||
endif (HAVE_SCRIPTING_PYTHON)
|
||||
|
||||
if(LINUX)
|
||||
add_test_file(mpris1_test.cpp true)
|
||||
endif(LINUX)
|
||||
|
Loading…
Reference in New Issue
Block a user