Commit 814b1673 authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

wrapping xacc-python project with find python call


Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent 01eb1d03
......@@ -180,8 +180,8 @@ ExternalProject_Add(xacc-quantum
TEST_AFTER_INSTALL 1
)
#find_package(PythonLibs)
#if(PYTHONLIBS_FOUND)
find_package(PythonLibs)
if(PYTHONLIBS_FOUND)
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DXACC_HAS_PYTHON")
ExternalProject_Add(xacc-python
DEPENDS xacc-core xacc-quantum
......@@ -208,7 +208,7 @@ ExternalProject_Add(xacc-python
INSTALL_COMMAND ${CMAKE_MAKE_PROGRAM} install #DESTDIR=${CMAKE_BINARY_DIR}/stage
TEST_AFTER_INSTALL 1
)
#endif()
endif()
# Install the config file for external projects to use
# This is cool, users just add find_package(XACC REQUIRED) to
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment