Skip to content

Commit

Permalink
Get headers from submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed May 23, 2024
1 parent 8a9d90c commit 2011302
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "catalyst"]
path = catalyst
url = https://github.com/PennyLaneAI/catalyst.git
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ link_directories(/usr/local/lib/qrack /usr/lib/qrack)

add_library(qrack_device SHARED pennylane_qrack/qrack_device.cpp)
target_link_libraries(qrack_device qrack OpenCL)
target_include_directories(qrack_device PUBLIC /home/iamu/GitHub/catalyst/runtime/include)
target_include_directories(qrack_device PUBLIC catalyst/runtime/include)
set_property(TARGET qrack_device PROPERTY POSITION_INDEPENDENT_CODE ON)
install(TARGETS qrack_device LIBRARY DESTINATION pennylane_qrack)

0 comments on commit 2011302

Please sign in to comment.