diff options
author | gregory guy <gregory-tde@laposte.net> | 2020-03-19 13:28:37 +0100 |
---|---|---|
committer | gregory guy <gregory-tde@laposte.net> | 2020-03-19 13:28:37 +0100 |
commit | f59c52a01618727a0e1ea225c6c0eb248e3b3d6b (patch) | |
tree | fbd2910bb4c88349916e55f9e0d11b9d301503b9 | |
parent | 5a39b72448ea23fc3e56b4516568fa425604f831 (diff) | |
download | amarok-f59c52a0.tar.gz amarok-f59c52a0.zip |
Add "AMAZON_SUPPORT" definition to the cmake build.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
-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 f95dbc4f..5afc1c24 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 + |