Skip to content

Commit b4df5ed

Browse files
committed
replace parser
1 parent a56bc33 commit b4df5ed

File tree

6 files changed

+11057
-71
lines changed

6 files changed

+11057
-71
lines changed

CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ project(${project})
88
# Find HDF5
99
find_package(HDF5 REQUIRED COMPONENTS CXX)
1010

11-
# Find OpenMP
12-
find_package(OpenMP REQUIRED)
13-
1411
# Find TBB
1512
find_package(TBB REQUIRED)
1613

@@ -32,14 +29,12 @@ endif()
3229

3330
set(CMAKE_CXX_STANDARD 20)
3431
set(CMAKE_CXX_STANDARD_REQUIRED True)
35-
set(CMAKE_CXX_FLAGS "-lboost_program_options")
3632

3733
# Add Boost and CUDA include directories
3834
include_directories(${Boost_INCLUDE_DIRS} ${HDF5_INCLUDE_DIRS} ./include ./src ./src/shapes)
3935
# Add the executable
4036
set(SOURCES ./src/spinwalk.cu ./src/kernels.cu ./src/file_utils.cpp ./src/shapes/shape_base.cu ./src/shapes/cylinder.cu ./src/shapes/sphere.cu)
4137

42-
# Link CUDA and OpenMP libraries
4338
if(CMAKE_CUDA_COMPILER)
4439
add_executable(${project} ${SOURCES})
4540
target_link_libraries(${project} ${CUDA_LIBRARIES} ${Boost_LIBRARIES} ${HDF5_CXX_LIBRARIES} TBB::tbb)

0 commit comments

Comments
 (0)