Skip to content

Commit

Permalink
Attempting to fix pthreads issue in GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeByDrescher committed Jan 18, 2024
1 parent 13403d1 commit de30d2a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ elseif (LINUX)
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m64")
set (CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -m64")
endif()
endif()
elseif (WIN32)
option(CMAKE_USE_WIN32_THREADS_INIT "using WIN32 threads" ON)
option(gtest_disable_pthreads "Disable uses of pthreads in gtest." ON)
endif()

cmake_minimum_required(VERSION 3.13)
Expand Down

0 comments on commit de30d2a

Please sign in to comment.