mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-14 18:14:50 +02:00
fix test for HAVE_THUMBBUTTON
This commit is contained in:
@@ -434,6 +434,16 @@ IF(LIBATTICA_FOUND)
|
|||||||
ENDIF(LIBATTICA_FOUND)
|
ENDIF(LIBATTICA_FOUND)
|
||||||
|
|
||||||
IF( WIN32 )
|
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
|
SET( OS_SPECIFIC_LINK_LIBRARIES
|
||||||
${OS_SPECIFIC_LINK_LIBRARIES}
|
${OS_SPECIFIC_LINK_LIBRARIES}
|
||||||
# System
|
# System
|
||||||
|
@@ -5,17 +5,6 @@ ADD_DEFINITIONS( /DWIN32_LEAN_AND_MEAN )
|
|||||||
ADD_DEFINITIONS( -static-libgcc )
|
ADD_DEFINITIONS( -static-libgcc )
|
||||||
ADD_DEFINITIONS( -DUNICODE )
|
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
|
SET( OS_SPECIFIC_LINK_LIBRARIES
|
||||||
${OS_SPECIFIC_LINK_LIBRARIES}
|
${OS_SPECIFIC_LINK_LIBRARIES}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user