mirror of https://github.com/axmolengine/axmol.git
Update CMakeLists.txt (#922)
* Update CMakeLists.txt * Update CMakeLists.txt
This commit is contained in:
parent
a5810457f1
commit
825cfd05bb
|
@ -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)
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue