"git@developer.sourcefind.cn:gaoqiong/composable_kernel.git" did not exist on "987fab6fdfdd94bcbba4782250e0ca12b63a233a"
Commit f35f4a19 authored by SirLoxley's avatar SirLoxley Committed by Jesse Beder
Browse files

Fix for broken build on cygwin using gcc - "error '[fileno, strdup, fdopen]'...

Fix for broken build on cygwin using gcc - "error '[fileno, strdup, fdopen]' are not in scope" (#374)
parent 7d2873ce
...@@ -10,7 +10,13 @@ endif() ...@@ -10,7 +10,13 @@ endif()
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR
CMAKE_CXX_COMPILER_ID MATCHES "Clang") CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set(yaml_test_flags "-Wno-c99-extensions -Wno-variadic-macros -Wno-sign-compare -std=c++11") set(yaml_test_flags "-Wno-c99-extensions -Wno-variadic-macros -Wno-sign-compare")
if(CMAKE_COMPILER_IS_GNUCXX)
set(yaml_test_flags "${yaml_test_flags} -std=gnu++11")
else()
set(yaml_test_flags "${yaml_test_flags} -std=c++11")
endif()
endif() endif()
file(GLOB test_headers [a-z_]*.h) file(GLOB test_headers [a-z_]*.h)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment