Skip to content

Commit

Permalink
attempting to force MINGW build
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeByDrescher committed Jan 25, 2024
1 parent 952d780 commit a8c46eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
-G Ninja \
-DCMAKE_C_COMPILER=/usr/local/opt/llvm/bin/clang \
-DCMAKE_CXX_COMPILER=/usr/local/opt/llvm/bin/clang++ \
-DOPTION_MINGW=ON \
-DOPTION_TARGET_MESSAGING=OFF \
-DOPTION_TARGET_PARALLEL=OFF \
-DOPTION_TARGET_CHOMBO2D_SOLVER=OFF \
Expand Down
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,7 @@ set(WINDOWS FALSE)
if (${CMAKE_SYSTEM_NAME} MATCHES Windows)
set(WINDOWS TRUE)
set(WIN32 TRUE)
if (${CMAKE_GENERATOR} MATCHES "Unix Makefiles")
set(MINGW TRUE)
endif (${CMAKE_GENERATOR} MATCHES "Unix Makefiles")
set(MINGW TRUE)
endif()

set (ARCH_64bit FALSE)
Expand Down
2 changes: 1 addition & 1 deletion smoldyn-2.38/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ include_directories(source/lib source/Smoldyn source/NextSubVolume source/vtk ${

# The following command is to signal we need to link "szip", which hdf5 uses. We should look into
# how to disable this, or at least control it via an option.
add_link_options("${CMAKE_LINK_LIBRARY_FLAG}sz")
# add_link_options("${CMAKE_LINK_LIBRARY_FLAG}sz")

####### Build for debugging or release ##########

Expand Down

0 comments on commit a8c46eb

Please sign in to comment.