diff options
Diffstat (limited to 'utils/CMakeLists.txt')
-rw-r--r-- | utils/CMakeLists.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index 9d3a77863..b1993e740 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -32,7 +32,12 @@ else() set(LIBTRANSPORT_LIBRARIES ${LIBTRANSPORT_SHARED}) endif() -include(Packaging) +set(SUFFIX "") +if (${LIBTRANSPORT_LIBRARIES} MATCHES ".*-memif.*") + set(SUFFIX "-memif") +endif() + +set(HICN_UTILS "${HICN_UTILS}${SUFFIX}") set (COMPILER_DEFINITIONS "") @@ -40,6 +45,8 @@ if (WIN32) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4200 /wd4996") endif () +include(Packaging) + build_executable(hiperf SOURCES src/hiperf.cc LINK_LIBRARIES ${LIBTRANSPORT_LIBRARIES} ${WSOCK32_LIBRARY} ${WS2_32_LIBRARY} |