Update CMakeLists.txt
This commit is contained in:
parent
4c6ea69d34
commit
5a3a3da497
@ -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")
|
||||
add_library(VectorAlgebra STATIC "src/Vector3.cpp" "src/Quaternion.cpp")
|
||||
|
Loading…
x
Reference in New Issue
Block a user