CMake: Move gtest finding to unitTests folder

v0.27.3
Luis Díaz Más 7 years ago
parent e397f8f053
commit 4d47b08a16

@ -55,10 +55,6 @@ if( BUILD_WITH_CCACHE )
endif()
endif()
if (EXIV2_BUILD_UNIT_TESTS)
find_package(GTest REQUIRED)
endif()
# On Windows we are interested in placing the DLLs together to the binaries in the install/bin
# folder, at the installation step. On other platforms we do not care about that, since the
# RPATHs will point the locations where the libraries where found.

@ -1,3 +1,5 @@
find_package(GTest REQUIRED)
add_executable(unit_tests mainTestRunner.cpp
gtestwrapper.h
test_types.cpp

Loading…
Cancel
Save