[Commits] SDL: cmake: Minor cleanup (reuse a string we already calculated).

libsdl.org revision control commits-owner at libsdl.org
Wed Feb 7 10:15:11 PST 2018


details:   https://hg.libsdl.org/SDL/rev/4249379583bc
changeset: 11847:4249379583bc
user:      Ryan C. Gordon <icculus at icculus.org>
date:      Wed Feb 07 13:07:59 2018 -0500
description:
cmake: Minor cleanup (reuse a string we already calculated).

diffstat:

 cmake/sdlchecks.cmake |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r a1b2d62d5d73 -r 4249379583bc cmake/sdlchecks.cmake
--- a/cmake/sdlchecks.cmake	Tue Feb 06 16:43:31 2018 -0800
+++ b/cmake/sdlchecks.cmake	Wed Feb 07 13:07:59 2018 -0500
@@ -610,7 +610,7 @@
         ARGS code "${_XML}" "${_WAYLAND_PROT_C_CODE}"
     )
 
-    set(SOURCE_FILES ${SOURCE_FILES} "${CMAKE_CURRENT_BINARY_DIR}/wayland-generated-protocols/${_PROTL}-protocol.c")
+    set(SOURCE_FILES ${SOURCE_FILES} "${_WAYLAND_PROT_C_CODE}")
 endmacro()
 
 # Requires:


More information about the commits mailing list