From 825cfd05bbb2b4c68c4e7e2e7b0bb3b15fe01713 Mon Sep 17 00:00:00 2001 From: CHP Date: Wed, 12 Oct 2022 01:04:01 +0200 Subject: [PATCH] Update CMakeLists.txt (#922) * Update CMakeLists.txt * Update CMakeLists.txt --- core/CMakeLists.txt | 2 +- tests/cpp-tests/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 7e1c37ea02..49539fbab8 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -159,7 +159,7 @@ endif() message("CMake ${_AX_CORE_LIB} target_precompile_headers") target_precompile_headers(${_AX_CORE_LIB} PRIVATE - "$<$:cocos2d.h>" + "$<$:axmol.h>" ) if(WINDOWS) diff --git a/tests/cpp-tests/CMakeLists.txt b/tests/cpp-tests/CMakeLists.txt index d5e469ee7b..af5a6b0eab 100644 --- a/tests/cpp-tests/CMakeLists.txt +++ b/tests/cpp-tests/CMakeLists.txt @@ -598,7 +598,7 @@ endif() if(NOT IOS) message("CMake ${APP_NAME} target_precompile_headers") target_precompile_headers(${APP_NAME} PRIVATE - "$<$:cocos2d.h>" + "$<$:axmol.h>" ) endif()