diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c708e9987..2f4572f5f1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -793,6 +793,10 @@ endif() add_subdirectory(Externals/watcher) +if(WIN32 OR LINUX) + add_subdirectory(Externals/cpp-ipc) +endif() + ######################################## # Pre-build events: Define configuration variables and write SCM info header # diff --git a/Externals/cpp-ipc/CMakeLists.txt b/Externals/cpp-ipc/CMakeLists.txt new file mode 100644 index 0000000000..ab776d4f89 --- /dev/null +++ b/Externals/cpp-ipc/CMakeLists.txt @@ -0,0 +1,9 @@ +add_subdirectory(cpp-ipc) + +dolphin_disable_warnings(ipc) + +if (NOT MSVC) + target_compile_options(ipc PRIVATE "-fexceptions") +endif () + +add_library(cpp-ipc::ipc ALIAS ipc)