Skip to content

Commit a8fa20f

Browse files
committed
+
1 parent 2c5d88b commit a8fa20f

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Build/libHttpClient.iOS.CMake/CMakeLists.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,20 @@ target_include_directories(
9595
"${COMMON_INCLUDE_DIRS}"
9696
)
9797

98+
set_target_properties(
99+
"${PROJECT_NAME}"
100+
PROPERTIES
101+
CXX_STANDARD 17
102+
CXX_STANDARD_REQUIRED ON
103+
)
104+
105+
set(IOS_MM_SOURCE_FILES
106+
"${PATH_TO_ROOT}/Source/Task/iOS/ios_WaitTimer.mm"
107+
"${PATH_TO_ROOT}/Source/Task/iOS/ios_WaitTimer_target.mm"
108+
"${PATH_TO_ROOT}/Source/HTTP/Apple/http_apple.mm"
109+
"${PATH_TO_ROOT}/Source/Common/Apple/utils_apple.mm"
110+
)
111+
set_source_files_properties(${IOS_MM_SOURCE_FILES} PROPERTIES COMPILE_FLAGS "-fobjc-arc")
112+
98113
message(STATUS "CMAKE_SYSTEM_VERSION='${CMAKE_SYSTEM_VERSION}'")
99114
message(STATUS "CMAKE_SYSTEM_NAME='${CMAKE_SYSTEM_NAME}'")

0 commit comments

Comments
 (0)