Skip to content

Commit

Permalink
Fix accidentally removed tests target
Browse files Browse the repository at this point in the history
  • Loading branch information
D4N committed Jun 10, 2018
1 parent 0d6abb5 commit 8393064
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,13 @@ endif()

##
# tests
add_custom_target(tests COMMAND env EXIV2_BUILDDIR="${CMAKE_BINARY_DIR}" make tests WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" )
add_custom_target(tests
COMMAND env EXIV2_BUILDDIR="${CMAKE_BINARY_DIR}" make test
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/test"
)

get_directory_property(SAMPLES DIRECTORY samples DEFINITION APPLICATIONS)
add_dependencies(tests exiv2lib exiv2 ${SAMPLES})

include(cmake/printSummary.cmake)

Expand Down

0 comments on commit 8393064

Please sign in to comment.