File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ endif()
150
150
151
151
if (${CMAKE_VERSION} VERSION_GREATER "3.16.0" )
152
152
message ("CMake 3.16 target_precompile_headers" )
153
- target_precompile_headers(cocos2d PRIVATE
153
+ target_precompile_headers(cocos2d PRIVATE
154
154
"$<$<COMPILE_LANGUAGE:CXX>:cocos2d.h>" )
155
155
endif ()
156
156
@@ -159,3 +159,17 @@ endif()
159
159
# # TODO: Only turn this off if ${CMAKE_XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET} < 11.0
160
160
# target_compile_options(cocos2d PUBLIC $<$<COMPILE_LANGUAGE:CXX>:-fno-aligned-allocation>)
161
161
#endif()
162
+
163
+ export (TARGETS cocos2d
164
+ external
165
+ ext_recast
166
+ ext_tinyxml2
167
+ ext_xxhash
168
+ ext_xxtea
169
+ ext_clipper
170
+ ext_edtaa3func
171
+ ext_convertUTF
172
+ ext_poly2tri
173
+ ext_md5
174
+ ext_unzip
175
+ FILE cocos2d-export.cmake)
You can’t perform that action at this time.
0 commit comments