Commit e4d20571 authored by BrutPitt's avatar BrutPitt
Browse files

ver 1.6.0 WiP - new experiment: test OpenMP for 3D/4D fractals (volumetric -> sparse random dots)

parent e2b64285
......@@ -305,7 +305,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
target_compile_options(${PROJECT_NAME} PRIVATE -Ofast -Wno-format-security -Wno-format-nonliteral -Wdeprecated-declarations -Wno-reorder -Wno-logical-op-parentheses -fexceptions -Wno-unused-command-line-argument -Wno-parentheses)
message("Clang...")
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
target_compile_options(${PROJECT_NAME} PRIVATE -Wno-format-security -fpermissive)
target_compile_options(${PROJECT_NAME} PRIVATE -fopenmp -Wno-format-security -fpermissive)
#add_compile_options(--verbose -Wno-format-security -std=c++14 -fpermissive) -O3 -ftree-vectorize -mavx2
message("GNU...")
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
......@@ -352,7 +352,7 @@ if(OPENGL_FOUND)
set(TARGET_LIBS ${CMAKE_DL_LIBS} "../../src/libs/glfw/buildWin/lib/${CMAKE_BUILD_TYPE}/glfw3")
endif()
else()
set(TARGET_LIBS ${CMAKE_DL_LIBS} "-lglfw3 -lpthread -lX11")
set(TARGET_LIBS ${CMAKE_DL_LIBS} "-fopenmp -lglfw3 -lpthread -lX11")
endif(WIN32)
endif(APPLE)
......
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