forked from NVIDIA/cuda-quantum
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
39 lines (33 loc) · 1.15 KB
/
CMakeLists.txt
File metadata and controls
39 lines (33 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# ============================================================================ #
# Copyright (c) 2022 - 2026 NVIDIA Corporation & Affiliates. #
# All rights reserved. #
# #
# This source code and the accompanying materials are made available under #
# the terms of the Apache License 2.0 which accompanies this distribution. #
# ============================================================================ #
set(LIBRARY_NAME cudaq-pasqal-qpu)
message(STATUS "Building Pasqal REST QPU.")
add_library(${LIBRARY_NAME}
SHARED
PasqalRemoteRESTQPU.cpp
PasqalServerHelper.cpp
)
target_include_directories(${LIBRARY_NAME} PRIVATE .
PUBLIC
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/runtime>
$<INSTALL_INTERFACE:include>
)
target_link_libraries(${LIBRARY_NAME}
PUBLIC
cudaq-operator
cudaq-common
PRIVATE
pthread
cudaq-mlir-runtime
fmt::fmt-header-only
cudaq
cudaq-platform-default
nvqir
)
install(TARGETS ${LIBRARY_NAME} DESTINATION lib)
add_target_config(pasqal)