Fixing build

This commit is contained in:
Michael Tryby
2018-08-23 07:48:01 -04:00
parent 888e447ad9
commit e8acc1b177
4 changed files with 10 additions and 12 deletions

View File

@@ -19,6 +19,7 @@ source_group("CLI" FILES ${EPANET_CLI_SOURCES})
# Creates the EPANET command line executable
add_definitions(-D WITH_GENX)
add_executable(runepanet ${EPANET_CLI_SOURCES})
if(NOT WIN32)
target_link_libraries(runepanet LINK_PUBLIC epanet m)