diff options
Diffstat (limited to 'cmake/ipcp/eth.cmake')
| -rw-r--r-- | cmake/ipcp/eth.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/ipcp/eth.cmake b/cmake/ipcp/eth.cmake index c14a1d6e..0960c8a5 100644 --- a/cmake/ipcp/eth.cmake +++ b/cmake/ipcp/eth.cmake @@ -38,5 +38,11 @@ if (HAVE_ETH) target_link_libraries(${target} PUBLIC ouroboros-dev) endforeach() + include(utils/AddCompileFlags) + if (CMAKE_BUILD_TYPE MATCHES "Debug*") + add_compile_flags(${IPCP_ETH_LLC_TARGET} -DCONFIG_OUROBOROS_DEBUG) + add_compile_flags(${IPCP_ETH_DIX_TARGET} -DCONFIG_OUROBOROS_DEBUG) + endif () + install(TARGETS ${IPCP_ETH_LLC_TARGET} ${IPCP_ETH_DIX_TARGET} RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR}) endif () |
