Ensure that libm is linked to in cmake-driven builds
This commit is contained in:
@@ -15,4 +15,4 @@ add_library(epanet STATIC ../../src/epanet.c ../../src/hydraul.c ../../src/hash
|
|||||||
# the standalone executable
|
# the standalone executable
|
||||||
include_directories(../../src)
|
include_directories(../../src)
|
||||||
add_executable(runepanet ../../run/main.c)
|
add_executable(runepanet ../../run/main.c)
|
||||||
target_link_libraries (runepanet LINK_PUBLIC epanet)
|
target_link_libraries (runepanet LINK_PUBLIC epanet m)
|
||||||
|
|||||||
Reference in New Issue
Block a user