This commit is contained in:
Zengtudor 2024-09-22 17:08:57 +08:00
parent ab8a6ad46e
commit 4b8dc0884b

View File

@ -15,6 +15,12 @@ add_subdirectory(pybind11)
include_directories(src/tools)
if(MSVC)
add_compile_options(/openmp:llvm)
else()
add_compile_options(-fopenmp)
endif()
file(GLOB SRC CONFIGURE_DEPENDS src/*.cpp src/*.h src/*.hpp)
add_executable(${PROJECT_NAME}_bin ${SRC})