Skip to content

Commit

Permalink
remove unnecessary includes (#4451)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmayclin authored Mar 14, 2024
1 parent f14659d commit 6daf82b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -493,9 +493,7 @@ if (BUILD_TESTING)
string(REGEX REPLACE ".+\\/(.+)\\.c" "\\1" test_case_name ${test_case})

add_executable(${test_case_name} ${test_case})
target_include_directories(${test_case_name} PRIVATE api)
target_include_directories(${test_case_name} PRIVATE ./)
target_include_directories(${test_case_name} PRIVATE tests)
target_link_libraries(${test_case_name} PRIVATE testss2n)
if (S2N_INTERN_LIBCRYPTO)
# if libcrypto was interned, rewrite libcrypto symbols so use of internal functions will link correctly
Expand All @@ -521,15 +519,11 @@ if (BUILD_TESTING)

add_executable(s2nc "bin/s2nc.c" "bin/echo.c" "bin/https.c" "bin/common.c")
target_link_libraries(s2nc ${PROJECT_NAME})

target_include_directories(s2nc PRIVATE api)
target_compile_options(s2nc PRIVATE -std=gnu99)


add_executable(s2nd "bin/s2nd.c" "bin/echo.c" "bin/https.c" "bin/common.c")
target_link_libraries(s2nd ${PROJECT_NAME})

target_include_directories(s2nd PRIVATE api)
target_compile_options(s2nd PRIVATE -std=gnu99)

if(S2N_LTO)
Expand Down

0 comments on commit 6daf82b

Please sign in to comment.