From 0b7448bfc07fa78cba66b4b7f326abd49ab407bc Mon Sep 17 00:00:00 2001 From: minggo Date: Mon, 22 Jul 2019 09:35:30 +0800 Subject: [PATCH] remove duplicate function call in cmake (#19697) (#19938) * AssureOutOfSourceBuilds() is called in module file. No need to call it in root cmake file. --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 31bbebe6b6..7deb315259 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,7 +36,6 @@ set(CMAKE_MODULE_PATH ${COCOS2DX_ROOT_PATH}/cmake/Modules/) # prevent in-source-build include(PreventInSourceBuilds) -AssureOutOfSourceBuilds() # works before build libcocos2d include(CocosBuildSet)