Skip to content

Commit

Permalink
remove pthread from link libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
cezbloch committed Nov 9, 2024
1 parent 4ffc90d commit add1ec7
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,7 @@
build/

# VS Code
.vscode/
.vscode/

# Python
__pycache__/
4 changes: 2 additions & 2 deletions ShaderatorTests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ add_executable(shaderator_tests
thread_pool_tests.cpp
threadsafe_queue_tests.cpp
)
# Link the Shaderator library and pthread and Gtest
target_link_libraries(shaderator_tests Shaderator pthread gtest_main)

target_link_libraries(shaderator_tests Shaderator gtest_main)

add_test(NAME shaderator_tests COMMAND shaderator_tests)
2 changes: 1 addition & 1 deletion examples/BasicComputeTests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ add_executable(basic_direct_compute_11_tests
basic_compute_tests.cpp
)

target_link_libraries(basic_direct_compute_11_tests Shaderator pthread gtest_main)
target_link_libraries(basic_direct_compute_11_tests Shaderator gtest_main)

add_test(NAME basic_direct_compute_11_tests COMMAND basic_direct_compute_11_tests)
2 changes: 1 addition & 1 deletion examples/BitonicSortTests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ add_executable(bitonic_sort_tests
bitonic_sort_tests.cpp
)

target_link_libraries(bitonic_sort_tests Shaderator BitonicSort pthread gtest_main)
target_link_libraries(bitonic_sort_tests Shaderator BitonicSort gtest_main)

add_test(NAME bitonic_sort_tests COMMAND bitonic_sort_tests)
2 changes: 1 addition & 1 deletion examples/GlslShadersTests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ add_executable(glsl_shaders_tests
ray_tracer_tests.cpp
)

target_link_libraries(glsl_shaders_tests Shaderator pthread gtest_main)
target_link_libraries(glsl_shaders_tests Shaderator gtest_main)

add_test(NAME glsl_shaders_tests COMMAND glsl_shaders_tests)
2 changes: 1 addition & 1 deletion examples/OpenCL/IntelBitonicSortTests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ add_executable(opencl_intel_bitonic_sort_tests
intel_bitonic_sort_tests.cpp
)

target_link_libraries(opencl_intel_bitonic_sort_tests Shaderator pthread gtest_main)
target_link_libraries(opencl_intel_bitonic_sort_tests Shaderator gtest_main)

add_test(NAME opencl_intel_bitonic_sort_tests COMMAND opencl_intel_bitonic_sort_tests)

0 comments on commit add1ec7

Please sign in to comment.