1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-19 04:11:46 +02:00

Merge pull request #218 from TheOneRing/fix-thumb-test

fix test for HAVE_THUMBBUTTON
This commit is contained in:
Christian Muehlhaeuser
2013-12-06 02:50:23 -08:00
2 changed files with 10 additions and 11 deletions

View File

@@ -434,6 +434,16 @@ IF(LIBATTICA_FOUND)
ENDIF(LIBATTICA_FOUND)
IF( WIN32 )
# Check for the availability of the Thumbbutton
check_cxx_source_compiles( "
#include <shobjidl.h>
int main() {
THUMBBUTTON foo;
return 0;
}
"
HAVE_THUMBBUTTON )
SET( OS_SPECIFIC_LINK_LIBRARIES
${OS_SPECIFIC_LINK_LIBRARIES}
# System

View File

@@ -5,17 +5,6 @@ ADD_DEFINITIONS( /DWIN32_LEAN_AND_MEAN )
ADD_DEFINITIONS( -static-libgcc )
ADD_DEFINITIONS( -DUNICODE )
# Check for the availability of the Thumbbutton
check_cxx_source_compiles( "
#include <shobjidl.h>
int main() {
THUMBBUTTON foo;
return 0;
}
"
HAVE_THUMBBUTTON )
SET( OS_SPECIFIC_LINK_LIBRARIES
${OS_SPECIFIC_LINK_LIBRARIES}