diff options
author | gregory guy <gregory-tde@laposte.net> | 2020-03-19 13:28:37 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-03-19 16:25:14 +0100 |
commit | f125dea5ac83b5846f864fb32efb0ad6fc0d54e6 (patch) | |
tree | 364c41df6eb7ff7b613cc598b19c9f0104689553 | |
parent | 37de6fa66219eb3b75e7b1a43c593571b346f130 (diff) | |
download | amarok-f125dea5ac83b5846f864fb32efb0ad6fc0d54e6.tar.gz amarok-f125dea5ac83b5846f864fb32efb0ad6fc0d54e6.zip |
Add "AMAZON_SUPPORT" definition to the cmake build.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
(cherry picked from commit f59c52a01618727a0e1ea225c6c0eb248e3b3d6b)
-rw-r--r-- | ConfigureChecks.cmake | 4 | ||||
-rw-r--r-- | config.h.cmake | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 71e345e1..cfee3236 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -372,3 +372,7 @@ if( NOT SQLITE_FOUND ) message( STATUS "sqlite3 linking: ${SQLITE_LIBRARIES}" ) endif( ) endif( WITH_SYSTEM_SQLITE ) + +if( WITH_AMAZON ) + set( AMAZON_SUPPORT 1 ) +endif() diff --git a/config.h.cmake b/config.h.cmake index a693e719..ee68fcb9 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -33,3 +33,6 @@ #cmakedefine USE_POSTGRESQL 1 #cmakedefine MYSQL_STRUCT @MYSQL_STRUCT@ + +#cmakedefine AMAZON_SUPPORT 1 + |