Skip to content

Commit

Permalink
we need explicit threads on some platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu authored and wonder-sk committed May 30, 2023
1 parent 9f6b81e commit 71f5bfc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ set (PEDANTIC TRUE CACHE BOOL "Determines if we should compile in pedantic mode.

find_package(PDAL REQUIRED)
find_package(GDAL REQUIRED)
find_package(Threads REQUIRED)

add_executable(pdal_wrench
src/main.cpp
Expand Down Expand Up @@ -49,6 +50,7 @@ target_link_libraries(pdal_wrench
#${CMAKE_THREAD_LIBS_INIT}
${PDAL_LIBRARIES}
${GDAL_LIBRARY}
${CMAKE_THREAD_LIBS_INIT}
)

install(TARGETS pdal_wrench DESTINATION bin)
Expand Down

0 comments on commit 71f5bfc

Please sign in to comment.