Skip to content

Commit

Permalink
update4
Browse files Browse the repository at this point in the history
  • Loading branch information
andv authored and andv committed Jul 16, 2024
1 parent 66bf784 commit 4b8601f
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,17 @@ endif()

if(WITH_DLT_UNIT_TESTS)
add_definitions(-DDLT_UNIT_TESTS)

remove_definitions(-DDLT_LIB_USE_${DLT_IPC}_IPC)
remove_definitions(-DDLT_DAEMON_USE_${DLT_IPC}_IPC)
set(DLT_IPC "UNIX_SOCKET")
add_definitions(-DDLT_LIB_USE_${DLT_IPC}_IPC)
add_definitions(-DDLT_DAEMON_USE_${DLT_IPC}_IPC)

set(WITH_DLT_SHM_ENABLE ON)
if(WITH_DLT_SHM_ENABLE)
add_definitions(-DDLT_SHM_ENABLE)
endif()
endif()

if(WITH_DLT_SHM_ENABLE)
Expand Down Expand Up @@ -419,11 +430,6 @@ if(WITH_DLT_UNIT_TESTS)

enable_testing()
add_subdirectory(tests)

set(WITH_DLT_SHM_ENABLE ON)
if(WITH_DLT_SHM_ENABLE)
add_definitions(-DDLT_SHM_ENABLE)
endif()
endif()

message(STATUS)
Expand Down

0 comments on commit 4b8601f

Please sign in to comment.