diff options
author | h.udo <hudokkow@gmail.com> | 2016-11-03 12:28:46 +0000 |
---|---|---|
committer | h.udo <hudokkow@gmail.com> | 2016-11-09 12:01:35 +0000 |
commit | 897094feeef8357eaf7ce2a4328a062b1af9d151 (patch) | |
tree | 47151ab78c78be897990a581b5a6cea3c44dc2a1 /tools | |
parent | 81dfeb6c609e32997faa2e3928146f8fddf304b7 (diff) |
[cmake] separate_arguments() is stupid
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depends/native/TexturePacker/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depends/native/TexturePacker/CMakeLists.txt b/tools/depends/native/TexturePacker/CMakeLists.txt index 3f8257b007..de4205745a 100644 --- a/tools/depends/native/TexturePacker/CMakeLists.txt +++ b/tools/depends/native/TexturePacker/CMakeLists.txt @@ -15,7 +15,7 @@ else() file(STRINGS ${GIF_INCLUDE_DIR}/gif_lib.h GIFSTRINGS) string(REGEX MATCH "GIFLIB_MAJOR ([0-9])" GIFLIB_MAJOR ${GIFSTRINGS}) if(GIFLIB_MAJOR) - separate_arguments(GIFLIB_MAJOR) + string(REPLACE " " ";" GIFLIB_MAJOR ${GIFLIB_MAJOR}) list(GET GIFLIB_MAJOR 1 GIFLIB_MAJOR) else() set(GIFLIB_MAJOR ${GIF_VERSION}) |