Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
cieslarmichal committed May 28, 2024
1 parent 6d23538 commit b770d59
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ if (NOT USE_SYSTEM_DEPENDENCIES)
HAS_STD_FORMAT)
endif ()

if (BUILD_TESTING)
add_subdirectory(tests)
endif ()

set(LIBRARY_NAME faker-cxx)

set(FAKER_SOURCES
Expand Down Expand Up @@ -119,6 +123,3 @@ else ()
target_link_libraries(${LIBRARY_NAME} PRIVATE fmt)
endif ()

if (BUILD_TESTING)
add_subdirectory(tests)
endif ()

0 comments on commit b770d59

Please sign in to comment.