Clamp the output of constant current source and capacitor to particular voltage
You need a voltage detect circuit possibly a comparator to detect when you reach the desired voltage and then a switch to turn of the current source possibly a pmos transistor when you attain that voltage.