aboutsummaryrefslogtreecommitdiff
path: root/node/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'node/CMakeLists.txt')
-rw-r--r--node/CMakeLists.txt13
1 files changed, 10 insertions, 3 deletions
diff --git a/node/CMakeLists.txt b/node/CMakeLists.txt
index adbedb1..6fe0ef7 100644
--- a/node/CMakeLists.txt
+++ b/node/CMakeLists.txt
@@ -8,9 +8,16 @@ add_executable(node
nextnode.hpp nextnode.cpp
)
-target_compile_options(node
- PRIVATE "-std=c++11"
-)
+if(WIN32)
+ target_compile_options(node
+ PRIVATE "-std=gnu++11"
+ )
+else(WIN32)
+ target_compile_options(node
+ PRIVATE "-std=c++11"
+ )
+endif(WIN32)
+
target_link_libraries(node
PRIVATE Boost::boost