Skip to content

Commit

Permalink
Point cmake to new directory with cpp files
Browse files Browse the repository at this point in the history
  • Loading branch information
stand-by committed Jul 17, 2024
1 parent 9525462 commit 7451077
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)

0 comments on commit 7451077

Please sign in to comment.