Skip to content

Commit 61e777a

Browse files
authored
Remove Threads workaround (#48)
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")`.
1 parent 879f16b commit 61e777a

File tree

3 files changed

+1
-29
lines changed

3 files changed

+1
-29
lines changed

cmake/workaround_thread.cmake

Lines changed: 0 additions & 26 deletions
This file was deleted.

tests/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL Clang AND DEFINED CMAKE_CUDA_COMPILER AND
1818
set(CUDA_AVAILABLE OFF)
1919
endif()
2020

21-
include(${PROJECT_SOURCE_DIR}/cmake/workaround_thread.cmake)
22-
_fix_threads_flags()
23-
2421
function(compile_test name)
2522
add_executable(${name} ${name}.cpp)
2623
target_link_libraries(${name} PRIVATE gtest_main)

tests/regression/array/bindgen_regression_array_cu.f90

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
! This file is generated!
22
module bindgen_regression_array_cu
3+
use iso_c_binding
34
implicit none
45
interface
56

0 commit comments

Comments
 (0)