Skip to content

Commit

Permalink
Link to math.h on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
cbuahin committed Sep 12, 2023
1 parent d9eae81 commit ae7e244
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions SRC_engines/src/solver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,10 @@ target_link_options(epanet2
">"
)

# target_link_libraries(epanet2
# PUBLIC
# $<$<NOT:$<BOOL:$<C_COMPILER_ID:MSVC>>>:m>
# $<$<BOOL:${OpenMP_C_FOUND}>:OpenMP::OpenMP_C>
# $<$<BOOL:${OpenMP_AVAILABLE}>:omp>
# )
target_link_libraries(epanet2
PRIVATE:
m
)

target_include_directories(epanet2
PUBLIC
Expand Down

0 comments on commit ae7e244

Please sign in to comment.