message: building xacc-core with boost target bug
diff: @@ -109,7 +109,6 @@ ExternalProject_Add(boost
  BUILD_IN_SOURCE 1
  )
  set(BOOST_ROOT ${CMAKE_INSTALL_PREFIX})
  -endif()
  ExternalProject_Add(xacc-core
  DEPENDS cppmicroservices restclient-cpp boost
  @@ -136,12 +135,34 @@ ExternalProject_Add(xacc-core
  INSTALL_COMMAND ${CMAKE_MAKE_PROGRAM} install # DESTDIR=${CMAKE_BINARY_DIR}/stage
  TEST_BEFORE_INSTALL 1
  )
  +else()
  -#set(XACC_BASE_DIR ${CMAKE_BINARY_DIR}/stage${CMAKE_INSTALL_PREFIX})
  -#set(XACC_INCLUDE_DIR ${XACC_BASE_DIR}/include/xacc)
  -#set(XACC_LIBRARY_DIR ${XACC_BASE_DIR}/lib)
  -#string (REPLACE ";" " " XACC_Boost_LIBRARIES "${Boost_LIBRARIES}")
  -#string (REPLACE ";" " " XACC_MPI_INCLUDE_PATHS "${MPI_CXX_INCLUDE_PATH}")
  +ExternalProject_Add(xacc-core
  + DEPENDS cppmicroservices restclient-cpp
  + SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/xacc
  + CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}
  + -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
  + -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
  + -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS}
  + -DBOOST_ROOT=${BOOST_ROOT}
  + -DXACC_ROOT=${CMAKE_CURRENT_SOURCE_DIR}
  + -DCPPUS_INCLUDE_DIR=${CppMicroServices_INCLUDE_DIR}
  + -DCPPUS_LIBRARY_DIR=${CppMicroServices_LIBRARY_DIR}
  + -DCppRSDK_INCLUDE_DIR=${CppRSDK_INCLUDE_DIR}
  + #-DXACC_HAS_PYTHON=${PYTHONLIBS_FOUND}
  + -DXACC_PYTHON_INCLUDE_DIR=${PYTHON_INCLUDE_DIR}
  + -DXACC_PYTHON_LIBRARIES=${PYTHON_LIBRARIES}
  + -DPYBIND11_DIR=${CMAKE_SOURCE_DIR}/python/pybind11
  +# -DOPENSSL_ROOT_DIR=${OPENSSL_ROOT_DIR}
  +# -DOPENSSL_INCLUDE_DIR=${OPENSSL_INCLUDE_DIR}
  +# -DOPENSSL_LIBRARIES=${OPENSSL_LIBRARIES}
  +# -DOPENSSL_CRYPTO_LIBRARY=${OPENSSL_CRYPTO_LIBRARY}
  + CMAKE_CACHE_ARGS -DCMAKE_PREFIX_PATH:PATH=${CMAKE_PREFIX_PATH}
  + BUILD_ALWAYS 1
  + INSTALL_COMMAND ${CMAKE_MAKE_PROGRAM} install # DESTDIR=${CMAKE_BINARY_DIR}/stage
  + TEST_BEFORE_INSTALL 1
  + )
  +endif()
  ExternalProject_Add(xacc-quantum
  DEPENDS xacc-core
  