add_library(gtestall STATIC) target_sources(gtestall PRIVATE ${THIRD_PARTY_DIR}/googletest/googletest/src/gtest-all.cc ${THIRD_PARTY_DIR}/googletest/googletest/src/gtest_main.cc) set_property( TARGET gtestall PROPERTY FOLDER "third-party") target_include_directories(gtestall SYSTEM PRIVATE ${THIRD_PARTY_DIR}/googletest/googletest PUBLIC ${THIRD_PARTY_DIR}/googletest/googletest/include)