Ensure that libm is linked to in cmake-driven builds

This commit is contained in:
Will Furnass
2015-07-31 18:50:26 +01:00
parent 0f65c830a3
commit a35a61ef6d

View File

@@ -15,4 +15,4 @@ add_library(epanet STATIC ../../src/epanet.c ../../src/hydraul.c ../../src/hash
# the standalone executable
include_directories(../../src)
add_executable(runepanet ../../run/main.c)
target_link_libraries (runepanet LINK_PUBLIC epanet)
target_link_libraries (runepanet LINK_PUBLIC epanet m)