Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ORNL Quantum Computing Institute
xacc
Commits
11f72448
Commit
11f72448
authored
Jan 31, 2018
by
Mccaskey, Alex
Browse files
adding cppus lib linking to python lib
Signed-off-by:
Alex McCaskey
<
mccaskeyaj@ornl.gov
>
parent
57a347ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/CMakeLists.txt
View file @
11f72448
...
...
@@ -45,7 +45,13 @@ endif(APPLE)
add_library
(
pyxacc SHARED xacc-py.cpp
)
SET_TARGET_PROPERTIES
(
pyxacc PROPERTIES PREFIX
""
)
target_link_libraries
(
pyxacc
${
PYTHON_LIBRARY
}
xacc xacc-quantum-gate xacc-quantum-aqc
${
Boost_LIBRARIES
}
)
set
(
CppUsLib CppMicroServicesd
)
link_directories
(
${
CPPUS_LIBRARY_DIR
}
)
find_library
(
cppus_has_d_suffix CppMicroServicesd
)
if
(
NOT cppus_has_d_suffix
)
set
(
CppUsLib CppMicroServices
)
endif
()
target_link_libraries
(
pyxacc
${
PYTHON_LIBRARY
}
xacc xacc-quantum-gate xacc-quantum-aqc
${
CppUsLib
}
${
Boost_LIBRARIES
}
)
install
(
TARGETS pyxacc DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/lib/python
)
endif
()
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment