Skip to content

Commit

Permalink
Remove Threads workaround (#48)
Browse files Browse the repository at this point in the history
It seems this fix was inactive anyway as we have `cmake_minimum_required(VERSION 3.14.5)` but the fix is for `if(${CMAKE_VERSION} VERSION_LESS "3.13.0")`.
  • Loading branch information
havogt authored Jun 12, 2020
1 parent 879f16b commit 61e777a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 29 deletions.
26 changes: 0 additions & 26 deletions cmake/workaround_thread.cmake

This file was deleted.

3 changes: 0 additions & 3 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL Clang AND DEFINED CMAKE_CUDA_COMPILER AND
set(CUDA_AVAILABLE OFF)
endif()

include(${PROJECT_SOURCE_DIR}/cmake/workaround_thread.cmake)
_fix_threads_flags()

function(compile_test name)
add_executable(${name} ${name}.cpp)
target_link_libraries(${name} PRIVATE gtest_main)
Expand Down
1 change: 1 addition & 0 deletions tests/regression/array/bindgen_regression_array_cu.f90
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
! This file is generated!
module bindgen_regression_array_cu
use iso_c_binding
implicit none
interface

Expand Down

0 comments on commit 61e777a

Please sign in to comment.