Skip to content

Commit f4b551a

Browse files
committed
fortran compiler
1 parent eb86d49 commit f4b551a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test-fortran-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: |
2929
cmake --version
3030
gfortran-14 --version
31-
cmake $GITHUB_WORKSPACE -DFORTRAN=ON
31+
cmake $GITHUB_WORKSPACE -DFORTRAN=ON -DCMAKE_Fortran_COMPILER=fortran-14
3232
3333
- name: Build
3434
shell: bash

check/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ include(CTest)
33
if (FORTRAN AND NOT BUILD_EXTRA_UNIT_ONLY)
44
set(CMAKE_Fortran_MODULE_DIRECTORY ${HIGHS_BINARY_DIR}/modules)
55
add_executable(fortrantest TestFortranAPI.f90)
6-
set_target_properties(fortrantest PROPERTIES LINKER_LANGUAGE Fortran)
6+
# set_target_properties(fortrantest PROPERTIES LINKER_LANGUAGE Fortran)
77
if (NOT FAST_BUILD)
88
target_link_libraries(fortrantest libhighs FortranHighs)
99
else()

0 commit comments

Comments
 (0)