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 b7bf0ff commit 5bf2b16Copy full SHA for 5bf2b16
CMakeLists.txt
@@ -291,7 +291,10 @@ target_link_libraries(asynchronous_programming -pthread)
291
292
add_executable(circular_dependency src/class/circular_dependency/circular_dependency.cpp src/class/circular_dependency/classA.cpp src/class/circular_dependency/classB.cpp)
293
294
-add_executable(core_dump src/core_dump.cpp)
+# core_dump uses unistd.h which is only available on Unix-like systems
295
+if(UNIX)
296
+ add_executable(core_dump src/core_dump.cpp)
297
+endif()
298
299
#add_executable(packaged_task src/packaged_task.cpp)
300
0 commit comments