Skip to content

Commit

Permalink
Need threads now
Browse files Browse the repository at this point in the history
  • Loading branch information
skulumani committed Jun 1, 2018
1 parent e2b5a2a commit 768ae5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ if ( NOT Boost_FOUND )
return()
endif()

find_package(Threads REQUIRED)

# just link executables against HDF5 target_link_libraries(target ${HDF5_CXX_LIBRARIES} ${HDF5_LIBRARIES})

Expand Down Expand Up @@ -188,7 +189,7 @@ target_link_libraries(mesh cgal_cpp input_parser_cpp)
# potential function
set(potential_main_src src/potential_main.cpp src/potential.cpp)
add_executable(potential_main ${potential_main_src})
target_link_libraries(potential_main igl::core cgal_cpp)
target_link_libraries(potential_main igl::core cgal_cpp Threads::Threads)

# surface mesher
set( surface_mesher_src src/surface_mesher_main.cpp )
Expand Down

0 comments on commit 768ae5e

Please sign in to comment.