cmake: Minor cleanup (reuse a string we already calculated).
authorRyan C. Gordon <icculus@icculus.org>
Wed, 07 Feb 2018 13:07:59 -0500
changeset 118474249379583bc
parent 11846 a1b2d62d5d73
child 11848 2f157c1ca383
cmake: Minor cleanup (reuse a string we already calculated).
cmake/sdlchecks.cmake
     1.1 --- a/cmake/sdlchecks.cmake	Tue Feb 06 16:43:31 2018 -0800
     1.2 +++ b/cmake/sdlchecks.cmake	Wed Feb 07 13:07:59 2018 -0500
     1.3 @@ -610,7 +610,7 @@
     1.4          ARGS code "${_XML}" "${_WAYLAND_PROT_C_CODE}"
     1.5      )
     1.6  
     1.7 -    set(SOURCE_FILES ${SOURCE_FILES} "${CMAKE_CURRENT_BINARY_DIR}/wayland-generated-protocols/${_PROTL}-protocol.c")
     1.8 +    set(SOURCE_FILES ${SOURCE_FILES} "${_WAYLAND_PROT_C_CODE}")
     1.9  endmacro()
    1.10  
    1.11  # Requires: