We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9058210 commit 71c000eCopy full SHA for 71c000e
CMakeLists.txt
@@ -165,6 +165,11 @@ target_include_directories(
165
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>)
166
target_link_libraries(zone-bench PRIVATE zone)
167
168
+check_include_file(endian.h HAVE_ENDIAN_H)
169
+if (HAVE_ENDIAN_H)
170
+ add_definitions(-DHAVE_ENDIAN_H=1)
171
+endif()
172
+
173
check_include_file(unistd.h HAVE_UNISTD_H)
174
if(NOT HAVE_UNISTD_H)
175
target_include_directories(
0 commit comments