diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b0a0ae..4b013d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ endif() set(SRCS src/Main.cpp) -set(CMAKE_CXX_FLAGS "-std=c++14 -fno-elide-constructors -pedantic-errors -Wall -Wextra -Werror -Wpedantic -Winit-self -Wmissing-declarations -Wuninitialized -Wfatal-errors") +set(CMAKE_CXX_FLAGS "-std=c++14 -fopenmp -fno-elide-constructors -pedantic-errors -Wall -Wextra -Werror -Wpedantic -Winit-self -Wmissing-declarations -Wuninitialized -Wfatal-errors") set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS} -O3") set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} -g -O0") set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS} -g -O3") diff --git a/README.md b/README.md index 197a001..3d8df55 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Indivisible is an optimized prime number generator written in C++. Building -------- -This project uses CMake to build. +This project uses CMake to build and depends on OpenMP. ```bash $ cd build/