Commit 4e8a64ea authored by Makayla Shepherd's avatar Makayla Shepherd
Browse files

Updating the name of the testing executable so it doesn't conflict with other submodules

parent 117a0948
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)