Skip to content

Commit

Permalink
action error2
Browse files Browse the repository at this point in the history
  • Loading branch information
xanthospap committed Sep 21, 2024
1 parent 318bcf7 commit 62b5101
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,6 @@ project(
LANGUAGES CXX
)

# The tests
include(CTest)
add_subdirectory(test//unit_tests)
find_library(sofa sofa_c)
if (sofa)
add_subdirectory(test//sofa)
endif()
enable_testing()

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED On)
set(CMAKE_CXX_EXTENSIONS Off)
Expand Down Expand Up @@ -43,6 +34,15 @@ target_include_directories(datetime PUBLIC

add_subdirectory(src)

# The tests
include(CTest)
add_subdirectory(test//unit_tests)
find_library(sofa sofa_c)
if (sofa)
add_subdirectory(test//sofa)
endif()
enable_testing()

# Install headers at: $PREFIX/datetime/...
install(DIRECTORY ${CMAKE_SOURCE_DIR}/include/
DESTINATION include/datetime
Expand Down

0 comments on commit 62b5101

Please sign in to comment.