Skip to content

Commit 35d054c

Browse files
committed
fix(datachunk): skip target_compile_features for VC6 compatibility
1 parent 907e606 commit 35d054c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Core/Libraries/Source/DataChunk/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ target_link_libraries(core_datachunk PUBLIC
1616
core_utility
1717
)
1818

19-
target_compile_features(core_datachunk PUBLIC cxx_std_98)
19+
# VC6 doesn't support target_compile_features
20+
if(NOT IS_VS6_BUILD)
21+
target_compile_features(core_datachunk PUBLIC cxx_std_98)
22+
endif()
2023

2124
if(WIN32 OR "${CMAKE_SYSTEM}" MATCHES "Windows")
2225
target_compile_definitions(core_datachunk PRIVATE _CRT_SECURE_NO_WARNINGS)

0 commit comments

Comments
 (0)