From 745107711f3c979f1930924136e94aff0b5d9dd3 Mon Sep 17 00:00:00 2001 From: Eugene Rublenko <16805621+stand-by@users.noreply.github.com> Date: Tue, 16 Jul 2024 21:15:01 -0400 Subject: [PATCH] Point cmake to new directory with cpp files --- CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a5dd3f5..94d6e52 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,8 +48,8 @@ find_package(OpenMP REQUIRED) # Our primary target add_library(fast_pauli INTERFACE) -target_include_directories(fast_pauli - INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include/) +target_include_directories( + fast_pauli INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/fast_pauli/cpp/include/) target_link_libraries(fast_pauli INTERFACE fmt::fmt mdspan OpenMP::OpenMP_CXX) target_compile_options( fast_pauli @@ -66,7 +66,8 @@ target_compile_options( # Testing include(CTest) enable_testing() -add_subdirectory(tests) +# TODO use proper variable for project root +add_subdirectory(fast_pauli/cpp/tests) # Examples -add_subdirectory(examples) +add_subdirectory(fast_pauli/cpp/examples)