File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,17 @@ set(CMAKE_CXX_STANDARD 14)
55set (CMAKE_CXX_STANDARD_REQUIRED ON )
66set (CMAKE_CXX_EXTENSIONS OFF )
77
8+ # Include Conan dependencies if present
9+ if (EXISTS "${CMAKE_BINARY_DIR} /cmakedeps_macros.cmake" )
10+ include ("${CMAKE_BINARY_DIR} /cmakedeps_macros.cmake" )
11+ endif ()
12+ if (EXISTS "${CMAKE_BINARY_DIR} /GTestConfig.cmake" )
13+ include ("${CMAKE_BINARY_DIR} /GTestConfig.cmake" )
14+ endif ()
15+ if (EXISTS "${CMAKE_BINARY_DIR} /benchmark-config.cmake" )
16+ include ("${CMAKE_BINARY_DIR} /benchmark-config.cmake" )
17+ endif ()
18+
819# Build options
920option (AEC_BUILD_TESTS "Build tests" ON )
1021option (AEC_BUILD_BENCHMARKS "Build benchmarks" ON )
Original file line number Diff line number Diff line change 11# Benchmarks CMakeLists.txt
2- find_package (benchmark REQUIRED)
32
43add_executable (aec_benchmark
54 aec_benchmark.cpp
Original file line number Diff line number Diff line change 11# Tests CMakeLists.txt
2- find_package (GTest REQUIRED)
32
43add_executable (aec_tests
54 test_aec.cpp
You can’t perform that action at this time.
0 commit comments