How can I build it? Unknown CMake command "use_cocos2dx_compile_define".
aismann opened this issue · comments
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x86/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:212 (use_cocos2dx_compile_define):
Unknown CMake command "use_cocos2dx_compile_define".
It's from cocos. You can refer to https://github.com/Xrysnow/cocos2d-x-3rd-party-libs-bin/blob/gfx/CMakeLists.txt for building.