Skip to content

Commit

Permalink
Fix linux dependency (#7)
Browse files Browse the repository at this point in the history
* run conda on pr/push

* remove pybind11 submodule

* Link gfortran only for Linux builds. Not required for macos

* Fix error in cmake that wasn't caught on mac

---------

Co-authored-by: Alex Soklev <[email protected]>
  • Loading branch information
tcmetzger and makepath-alex authored Mar 18, 2024
1 parent db28285 commit 5a6ec38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ target_link_libraries(${TARGET_NAME} PUBLIC
rte
)

if ($LINUX)
if (${LINUX})
target_link_libraries(${TARGET_NAME} PUBLIC gfortran)
endif()

Expand Down

0 comments on commit 5a6ec38

Please sign in to comment.