Skip to content

Commit

Permalink
#104 add minimum compile feature to c11 to library
Browse files Browse the repository at this point in the history
  • Loading branch information
fdefelici committed Jun 19, 2024
1 parent a6cf7a1 commit 29b430d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required(VERSION 3.18)
project(CLoveUnit LANGUAGES C)
include(CTest)

add_library(clove-unit INTERFACE)
target_include_directories(clove-unit INTERFACE "${CMAKE_CURRENT_LIST_DIR}")
Expand All @@ -25,6 +24,7 @@ endif()
To avoid targets pollution when using FetchContent were only the target library is required
]]
if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
include(CTest)

if (CLOVE_CMAKE__UC_BUILD)
add_subdirectory(tests/functs)
Expand Down

0 comments on commit 29b430d

Please sign in to comment.