Update CMakeLists.txt (#922)

* Update CMakeLists.txt

* Update CMakeLists.txt
This commit is contained in:
CHP 2022-10-12 01:04:01 +02:00 committed by GitHub
parent a5810457f1
commit 825cfd05bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ endif()
message("CMake ${_AX_CORE_LIB} target_precompile_headers")
target_precompile_headers(${_AX_CORE_LIB} PRIVATE
"$<$<COMPILE_LANGUAGE:CXX>:cocos2d.h>"
"$<$<COMPILE_LANGUAGE:CXX>:axmol.h>"
)
if(WINDOWS)

View File

@ -598,7 +598,7 @@ endif()
if(NOT IOS)
message("CMake ${APP_NAME} target_precompile_headers")
target_precompile_headers(${APP_NAME} PRIVATE
"$<$<COMPILE_LANGUAGE:CXX>:cocos2d.h>"
"$<$<COMPILE_LANGUAGE:CXX>:axmol.h>"
)
endif()