diff --git a/CMakeLists.txt b/CMakeLists.txt index d6e15ad..9ae6b63 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,14 @@ cmake_minimum_required(VERSION 3.13) # CMake version check project(VectorAlgebra) # Create project "simple_example" -set(CMAKE_CXX_STANDARD 14) # Enable c++14 standard + +set(CMAKE_CXX_STANDARD 11) # Enable c++14 standard + +include(FetchContent) +FetchContent_Declare( + googletest + URL https://github.com/google/googletest/archive/refs/heads/main.zip +) +FetchContent_MakeAvailable(googletest) include_directories(include) -add_library(VectorAlgebra STATIC "src/Vector3.cpp" "src/Quaternion.cpp") \ No newline at end of file +add_library(VectorAlgebra STATIC "src/Vector3.cpp" "src/Quaternion.cpp")