Skip to content

Commit

Permalink
Updates based on @msaft's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tsjensen committed Sep 28, 2024
1 parent f3b4e02 commit 7e57517
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@
"editor.insertSpaces": false,
"editor.detectIndentation": false,
"editor.renderWhitespace": "boundary"
}
},
"cmake.configureOnOpen": true
}
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.25)
cmake_minimum_required(VERSION 3.23)

# Build options options
option(BUILD_SHARED_LIBS "Build shared libraries" OFF)
Expand Down
11 changes: 6 additions & 5 deletions utest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,18 @@ set(SOURCES
main.c
)

# -----------------------------------------------------------------------------

add_executable(${TARGET}
${SOURCES}
)

if (HAVE_STRINGOP_OVERFLOW)
target_compile_options(${TARGET}
PRIVATE -Wno-stringop-overflow
)
endif (HAVE_STRINGOP_OVERFLOW)

# -----------------------------------------------------------------------------

add_executable(${TARGET}
${SOURCES}
)
target_link_libraries(${TARGET}
PRIVATE
${SUT}
Expand Down

0 comments on commit 7e57517

Please sign in to comment.