Unverified Commit d9252320 authored by ihumphrey's avatar ihumphrey Committed by GitHub
Browse files

Merge pull request #72 from makaylas/master

Updating the name of the testing executable to be unique
parents 117a0948 4e8a64ea
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
cmake_minimum_required(VERSION 3.10)

# Link runTests with what we want to test and the GTest and pthread library
add_executable(runTests TestyMcTestFace.cpp)
target_link_libraries(runTests usgscsm ${GTEST_LIBRARIES} ${GTEST_MAIN_LIBRARIES} pthread)
# Link runCSMCameraModelTests with what we want to test and the GTest and pthread library
add_executable(runCSMCameraModelTests TestyMcTestFace.cpp)
target_link_libraries(runCSMCameraModelTests usgscsm ${GTEST_LIBRARIES} ${GTEST_MAIN_LIBRARIES} pthread)

gtest_discover_tests(runTests WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/tests)
gtest_discover_tests(runCSMCameraModelTests WORKING_DIRECTORY tests)