Fixed bug 3959 - cmake build broken by commit 11702 (cf166abbde4a) due to typo
authorSam Lantinga <slouken@libsdl.org>
Mon, 20 Nov 2017 00:03:23 -0800
changeset 117077960a740a126
parent 11706 d5d95b296cb0
child 11708 08ecfdbb39f2
Fixed bug 3959 - cmake build broken by commit 11702 (cf166abbde4a) due to typo

Mate Nagy
There is a typo in CMakeLists.txt that makes CMake exit with failure.

Change that causes the problem: (Notice the double ending brackets)
${SDL2_SOURCE_DIR}/src/video/*.c)
+ ${SDL2_SOURCE_DIR}/src/video/yuv2rgb/*.c)

Fix:
Just remove the first ending bracket resulting in:
${SDL2_SOURCE_DIR}/src/video/*.c
${SDL2_SOURCE_DIR}/src/video/yuv2rgb/*.c)
CMakeLists.txt
     1.1 --- a/CMakeLists.txt	Sun Nov 19 23:36:54 2017 -0800
     1.2 +++ b/CMakeLists.txt	Mon Nov 20 00:03:23 2017 -0800
     1.3 @@ -356,7 +356,7 @@
     1.4    ${SDL2_SOURCE_DIR}/src/stdlib/*.c
     1.5    ${SDL2_SOURCE_DIR}/src/thread/*.c
     1.6    ${SDL2_SOURCE_DIR}/src/timer/*.c
     1.7 -  ${SDL2_SOURCE_DIR}/src/video/*.c)
     1.8 +  ${SDL2_SOURCE_DIR}/src/video/*.c
     1.9    ${SDL2_SOURCE_DIR}/src/video/yuv2rgb/*.c)
    1.10  
    1.11