Update recipes/affogato/build.sh
@@ -17,19 +17,7 @@ cmake .. \
-DCMAKE_C_COMPILER=${CC} \
-DCMAKE_CXX_COMPILER=${CXX} \
-DCMAKE_BUILD_TYPE=RELEASE \
- -DCMAKE_OSX_DEPLOYMENT_TARGET=${CMAKE_OSX_DEPLOYMENT_TARGET}\
- -DCMAKE_INSTALL_PREFIX=${PREFIX} \
- -DCMAKE_PREFIX_PATH=${PREFIX} \
-\
- -DCMAKE_SHARED_LINKER_FLAGS="${LDFLAGS}" \
- -DCMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" \
- -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
- -DCMAKE_CXX_FLAGS_RELEASE="${CXXFLAGS} -O3 -DNDEBUG" \
- -DCMAKE_CXX_FLAGS_DEBUG="${CXXFLAGS}" \
-\
- -DBOOST_ROOT=${PREFIX} \
- -DBUILD_PYTHON=ON \
-\
+ ${CMAKE_ARGS} \
-DPYTHON_EXECUTABLE=${PYTHON} \
-DPYTHON_LIBRARY=${PREFIX}/lib/libpython${PY_ABI}${SHLIB_EXT} \
-DPYTHON_INCLUDE_DIR=${PREFIX}/include/python${PY_ABI} \
