no EXEC_PROCESS command with cmake-2.8.12.2 #2

Fermé
il y a 6 ans ouvert par Ghost · 1 commentaires
Ghost a commenté il y a 6 ans

It seems that I don't have EXEC_PROCESS command with cmake-2.8.12.2.

But I do have EXEC_PROGRAM, which should also be available in cmake beyond 2.8, cmake-3.x

since we're supposed to support cmake-2.8, we might change "tdenetwork/kopete/plugins/nowlistening/ConfigureChecks.cmake" accordingly.

EXEC_PROCESS( COMMAND ${XMMS_CONFIG} --cflags OUTPUT_VARIABLE XMMS_INCLUDES )
EXEC_PROCESS( COMMAND ${XMMS_CONFIG} --libs OUTPUT_VARIABLE XMMS_LIBS )

  • EXEC_PROGRAM( ${XMMS_CONFIG} --cflags OUTPUT_VARIABLE XMMS_INCLUDES )
  • EXEC_PROGRAM( ${XMMS_CONFIG} --libs OUTPUT_VARIABLE XMMS_LIBS )

What do you think about that?

It seems that I don't have EXEC_PROCESS command with cmake-2.8.12.2. But I do have EXEC_PROGRAM, which should also be available in cmake beyond 2.8, cmake-3.x since we're supposed to support cmake-2.8, we might change "tdenetwork/kopete/plugins/nowlistening/ConfigureChecks.cmake" accordingly. EXEC_PROCESS( COMMAND ${XMMS_CONFIG} --cflags OUTPUT_VARIABLE XMMS_INCLUDES ) EXEC_PROCESS( COMMAND ${XMMS_CONFIG} --libs OUTPUT_VARIABLE XMMS_LIBS ) + EXEC_PROGRAM( ${XMMS_CONFIG} --cflags OUTPUT_VARIABLE XMMS_INCLUDES ) + EXEC_PROGRAM( ${XMMS_CONFIG} --libs OUTPUT_VARIABLE XMMS_LIBS ) What do you think about that?
Propriétaire

Resolved in PR #3

Resolved in PR #3
SlavekB a fermé ce ticket il y a 6 ans
SlavekB a ajouté cela au jalon R14.0.6 release il y a 6 ans
Connectez-vous pour rejoindre cette conversation.
Aucun jalon
Pas d'assignataires
2 participants
Notifications
Échéance

Aucune échéance n'a été définie.

Dépendances

No dependencies set.

Reference: TDE/tdenetwork#2
Chargement…
Il n'existe pas encore de contenu.