Skip to content

Commit fe7350f

Browse files
committed
Restore the old method of setting -DABC_USE_STDINT_H=1
Avoids the duplicate LIN64 defintiion compiler error. Signed-off-by: Matt Liberty <[email protected]>
1 parent f43cf25 commit fe7350f

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ if(USE_SYSTEM_ABC)
9494
if(NOT ABC_INCLUDE_DIR)
9595
set(ABC_INCLUDE_DIR "/usr/include/abc")
9696
endif()
97+
add_definitions(-DABC_USE_STDINT_H=1)
9798
include_directories(${ABC_INCLUDE_DIR})
9899
message(STATUS "Using ABC_INCLUDE_DIR=${ABC_INCLUDE_DIR}")
99100
else()

src/cut/src/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ target_sources(cut
2424
logic_cut.cpp
2525
)
2626

27-
target_compile_definitions(cut
28-
PUBLIC
29-
ABC_USE_STDINT_H=1
30-
)
31-
3227
target_link_libraries(cut
3328
PUBLIC
3429
rsz_lib

0 commit comments

Comments
 (0)