change EXEC_PROCESS for EXECUTE_PROCESS, this solves issue #2

Signed-off-by: gregory guy <g-gregory@gmx.fr>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 2a97cbef31)
pull/38/head
gregory guy 6 years ago committed by Slávek Banko
parent 9087d76878
commit 80ac67ec60
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -14,8 +14,8 @@ if( WITH_XMMS )
find_program( XMMS_CONFIG xmms-config )
if( XMMS_CONFIG )
set( HAVE_XMMS 1 )
EXEC_PROCESS( COMMAND ${XMMS_CONFIG} --cflags OUTPUT_VARIABLE XMMS_INCLUDES )
EXEC_PROCESS( COMMAND ${XMMS_CONFIG} --libs OUTPUT_VARIABLE XMMS_LIBS )
EXECUTE_PROCESS( COMMAND ${XMMS_CONFIG} '--cflags' OUTPUT_VARIABLE XMMS_INCLUDES )
EXECUTE_PROCESS( COMMAND ${XMMS_CONFIG} '--libs' OUTPUT_VARIABLE XMMS_LIBS )
else( )
tde_message_fatal( "xmms is required, but was not found on your system" )
endif( )

Loading…
Cancel
Save